> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Subject: How can JSPs be part of an integrated component?
> 
> I'm trying to figure out how a servlet running in the Tomcat 
> container can access jsp's that are included as part of a jar
> that has been installed in the WEB-INF/lib directory?

Take a look at Tomcat's admin app - it uses pre-compiled JSPs, which are
then jar'd together and are accessible as regular servlet classes.

> Obviously they can't be accessed from the outside via URI's

Actually, they can be with the appropriate servlet mapping in your
web.xml file.  Again, take a look at the config of the admin app.

 - 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