> From: Victor Huang [mailto:[EMAIL PROTECTED] 
> Subject: RE: Can Tomcat access JSP pages out of tomcat folder?
> 
> <Context path="/" docBase="C:/www/myapp" crossContext="true"/>
> <Context path="/bs" docBase="C:/shared-jsp/component" 
> crossContext="true"/>

As stated before, remove the path attribute - it's not allowed unless
the <Context> element is in server.xml, which no one should be doing
anymore.  If you want a particular webapp to be the default webapp, its
name must be ROOT (upper case required).  The URI path for the webapp is
derived from the name of its .xml file when that is stored in the
conf/Catalina/[host] directory.

> <jsp:include page="/bs/components/test2.jsp">

Can test2.jsp be accessed directly via an HTTP invocation?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to