tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <>
Subject RE: How can JSPs be part of an integrated component?
Date Sat, 30 Dec 2006 04:52:45 GMT
> From: [] 
> 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

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:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message