I'm using 4.1 and got the impression that the jasper.bat in the bin directory does the compile. Is this incorrect? Not work well?
thanks bp -----Original Message----- From: Pavel Kolesnikov [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 2:07 PM To: Struts Users Mailing List Subject: Re: need help precompiling jsps http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html#Web%20Appl ication%20Compilation (tomcat 5 is required) pavel On Wed, 19 Jan 2005 13:40:24 -0500, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I can not find any docs on how to precompile my jsps. I've seen some > references and I've figured out that I want to run jasper.bat which runs > jsp.bat but I'm stuck there. If I go to the tomcat bin directory and run > > jasper jspc --webapp "..\webapps\dgjobs" > > I get: > > Exception in thread "main" java.lang.NullPointerException > at java.io.File.<init>(File.java:180) > at org.apache.jasper.JspC.execute(JspC.java:767) > at org.apache.jasper.JspC.main(JspC.java:823) > > I thought maybe I need the output directory so I added > > -d "..\work\Standalone\localhost\dgJobs" to it and got the same exception > > bill page > [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]