struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@digitalgarden.com
Subject RE: need help precompiling jsps
Date Wed, 19 Jan 2005 20:06:27 GMT
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:pavel.kolesnikov@gmail.com]
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, bill@digitalgarden.com
<bill@digitalgarden.com> 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
>         bill@digitalgarden.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message