tomcat-users mailing list archives

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

  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.

--lee

On 12/29/06, Caldarale, Charles R <Chuck.Caldarale@unisys.com> wrote:
>
> > From: lee.crawford@gmail.com [mailto:lee.crawford@gmail.com]
> > 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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