The include directive is relative to the webapp.  This is as specified
in the JSP Spec.  From my understanding, you can use the <jsp:include />
to retrieve files from other contexts.


- Andrew

> -----Original Message-----
> From: Christian J. Dechery [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, August 09, 2002 9:23 AM
> To: [EMAIL PROTECTED]
> Subject: using INCLUDE with crossContext
> 
> 
> I'm trying to use the crossContext feature to include a file 
> that is in a context (that I call /global/) in other contexts...
>  
> /global is is configured in server.xml with 
> crossContext="true", but when I do <%@include 
> file="/global/includes/file.jsp"%>
> it gives me an error message with file not found...
>  
> what is wrong?
>  
> .:| Christian J. Dechery
> .:| FINEP - Depto. de Sistemas
> .:| [EMAIL PROTECTED]
> .:| (21) 2555-0332
> 
> 


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

Reply via email to