tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean McCauliff <se...@narus.com>
Subject How do I precompile JSP for redistribution?
Date Tue, 23 May 2000 07:04:31 GMT
If I do
jspc.sh  index.jsp

I get:
> java -debug org.apache.jasper.JspC index.jsp
Agent password=5su38p
java.lang.NullPointerException
        at java.io.File.<init>(File.java)
        at org.apache.jasper.JspC.parseFiles(JspC.java:454)
        at org.apache.jasper.JspC.main(JspC.java:601)


How am I supposed to use this tool?

If I look at the code uriRoot looks like it is null, but there is code
which suggests that if uriRoot == null it will get assigned some sane
value.

Does the uri get hardcoded into the compiled JSP?  So I could only use
index.jsp with the URI /Blah/index.jsp  ?

Thanks,
-Sean


Mime
View raw message