tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter lin <peter....@labs.gte.com>
Subject Re: 4.1.12 JSPC question
Date Wed, 02 Oct 2002 14:15:12 GMT

Hey Rick,


thanks for the response. Yeah, I run into the problem of command line
too long. I'll check out the manager app how-to.

peter

Rick Fincher wrote:
> 
> Hi Peter,
> 
> The docs are not very good on this.  There is good news and bad news.  The
> bad news is that even using JSPC all you get is a bunch of uncompiled
> servlets.  You still have the slowdown at runtime with the first compile
> into class files.  You can go in and compile the servlets but getting the
> classpaths correct is difficult and in many cases the command line is too
> long to be processed.
> 
> The good new is that there are ant scripts for doing all of this for you in
> 4.1.12. Check the Manager App How-To in the docs for details.
> 
> Rick
> 
> ----- Original Message -----
> From: "peter lin" <peter.lin@labs.gte.com>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> Sent: Wednesday, October 02, 2002 8:14 AM
> Subject: 4.1.12 JSPC question
> 
> >
> > I'm trying to get JSPC to work correctly and compile my webapp, but I am
> > having a bit of difficulty. jspc with tomcat 4.0.3 worked fine, but
> > 4.1.12 is having trouble resolving the included files and is therefore
> > throwing NPE.  I've gone through every tomcat 4 doc on the site and I've
> > read through the javadoc, but it's still unclear to me which jspc
> > options are required and which are not.
> >
> > I've managed to compile single jsp files, but not a webapp.  Here is an
> > example of the command I am using.
> >
> > C:\tomcat\bin>jspc -webapp c:\project\myapp -d
> > c:\tomcat\work\Standalone\localhost\_ -uriroot c:\project\myapp -uribase
> > c:\project\myapp
> >
> > I'm hoping it's just stupid user error on my part. One thing is my pages
> > use JSTL <c:import> as well as other JSTL tags.
> >
> > peter
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message