tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lee Crawford" <>
Subject Re: How can JSPs be part of an integrated component?
Date Sat, 30 Dec 2006 05:50:30 GMT

  Sure, that works if you're banking on Tomcat as your deployment target,
but the classes that you've compiled and hardwired (there many lines of
hardwiring in the admin web.xml) to Tomcat.

  I'm still looking for something a bit more portable. Thanks for your
answer, though.


On 12/29/06, Caldarale, Charles R <> wrote:
> > 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:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message