In server.xml:
<Context path="/examples" docBase="examples" debug="0" reloadable="true"
crossContext="true"/>
The crossContext attribute "true" implies that servlets/jsps in other
contexts can access resources from this context with the help of a
RequestDispatcher.

RS





"Christian J. Dechery" <[EMAIL PROTECTED]> on 05/29/2002 04:21:05 PM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:    <[EMAIL PROTECTED]>
cc:

Subject:    Re: creating global context

sorry, I'm kinda newbie to web.xml... could u exemplify?

thanks


.:| Christian J. Dechery
.:| FINEP - Depto. de Sistemas
.:| [EMAIL PROTECTED]
.:| (21) 2555-0332

>>> [EMAIL PROTECTED] 29/05/02 16:20 >>>

You could set the attribute crosscontext=true. And then access resources
across various contexts.

RS





"Christian J. Dechery" < [EMAIL PROTECTED] > on 05/29/2002 03:57:13 PM


Please respond to "Tomcat Users List" < [EMAIL PROTECTED] >

To: < [EMAIL PROTECTED] >
cc:

Subject: creating global context

How do I create a global context?

I want to able to include JSP files (as well as images, etc) from this
context across all my webapps. This is possible right?

thanks

.:| 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] >












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

Reply via email to