Re: How to reuse the Jahia web site CSS from a webapp deployed into it...

Patrick Gelin <[email protected]>
Newsgroups gmane.comp.cms.jahia.template
Organization OSIS
Message-ID <[email protected]>
Ok, thank you for this information but my CSS is not in the directory of my 
webapp but:

[TOMCAT_HOME]/webapps/ROOT/jsp/jahia/templates/rpn/web_css.jsp

and my webapp is deployed here:

[TOMCAT_HOME]/webapps/ROOT/WEB-INF/var/news-webapps

So, do you think request.getContextPath() + request.getServletPath() + "/.."
is a good url to access web_css.jsp after the webapp deployment?

Thanks.

Philippe Vollenweider wrote:

> Hello,
> 
> It should be good; the url to the webapps directory is:
> String theURL = request.getContextPath() + request.getServletPath() +
> "/..";
> 
> Cheers,
> 
> Philippe.
> 
> At 12.07.2005 13:24, you wrote:
>>Hi,
>>
>>I have a web site under Jahia with a web_css.jsp style sheet. I'm
>>wondering if it's possible web application deployed into:
>>
>>  JAHIA_HOME/tomcat/webapps/jahia/WEB-INF/new_webapps/MY_SITE_NAME
>>
>>has the hability to reuse the web<-css.jsp from tho jahia web site?
>>
>>if so, what is the source code of line to write into my JSP? (What is the
>>correct path...)
>>
>>Thanks.
>>--
> 
> -------=[ pvollenweider at jahia dot com ]=---------
> Jahia : A collaborative source CMS and Portal Server
> www.jahia.org Community and product web site
> www.jahia.com Commercial services company

--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.