the workaround that would be to put a link (include) in test1 and test2
that links to the ../include

Alex.

> -----Original Message-----
> From: Eman Fattouh [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 12, 2002 8:48 AM
> To: Tomcat Users List
> Subject: need help urgently
> 
> 
> dear all;
>      i have some applications under webapps folder. all of them 
> must include some static html files. the problem is if i jave the 
> following file system:
>  /var/tomcat4/webapps/test1 ------> application 1 containing 
> test1.jsp file and others
>  /var/tomcat4/webapps/test2 -------> application 2
>  /var/tomcat4/webapps/includes ----> folder containing only html 
> static files, not an application , for example: topfile.htm
> 
> how to refer to these static files (inside includes) from my jsp?
> for example, when i refer to topfile.htm from test1.jsp as follows:
> <jsp:include page="../includes/topfile.htm" flush="true"/>
> the page is loaded balnk. why?
> 
> is it not allowed to refer to any folder outside my application? 
> if so, how to work around that?
> Regards
> Iman

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to