Peter, Not sure if you're running into the same problem, but here's a thread that didn't get much of a reaction. I haven't filed a bug on this (yet?):
http://www.mail-archive.com/[email protected]/msg62000.html peter lin wrote: > > after a lot of digging, I tracked part of the problem down to jakarta > string taglib. once I removed that from my file, it correctly compiles > the jsp page. I'm working on tracking down the exact cause, but it > might be an issue with jsp 1.1 tags. JSTL 1.2 compliant, but string > taglib is 1.1. > > if anyone has seen this, I'd like to hear about it. it might help me > diagnose the problem and find a fix faster. > > 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" <[EMAIL PROTECTED]> > > To: "Tomcat Users List" <[EMAIL PROTECTED]> > > 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:[EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/>
smime.p7s
Description: S/MIME Cryptographic Signature
