Jason Palmatier wrote:

I'm trying to precompile JSPs and have run into some
trouble with the mappings.  First off I CANNOT use the
Ant build method as specified in
"http://jakarta.apache.org/tomcat/tomcat-5.0-doc/printer/jasper-howto.html#Web%20Application%20Compilation";
due to a lack of certain UNIX commands on the machine
I'm running on (An iSeries server running a QShell
interpreter in case you're interested).  I get
complaints about the "which" command and I am sure
other commands are missing as well.  So, I am
attempting to compile all the JSPs using jspc
directly.  The archives are full of references to this
but most come down to RTFM, "Use this Ant script" or
"compile to your working directory" all of which I've
either already tried, can't use, and don't want to use
in a released product.
   I've successfully created .class files, copied them
to the classes directory and integrated the generated
         ^^^^^^^ is wrong.
WEB-INF/classes is not for compiled JSP/servlet classes.
Tomcat places them in ${tomcat}/work/Catalina/localhost/${context name}.

Please, read JSP/servlet specifications from Sun's site.

BTW, why do you need those classes to be precompiled?

--
Illya Kysil, software developer
Delphi/C/C++/C#/Java/Forth/Assembler
-------------------------------------------------------------------------
No trees were harmed in the generation of this e-mail.
A significant number of electrons were, however, severely inconvenienced.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to