tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Zhou" <sz...@entricom.com>
Subject how to make jspc.sh -webapp <dir> work
Date Mon, 03 Jul 2000 22:00:39 GMT
Hi, all,
I'm trying to make jspc to work with -webapp option.
when I try
jspc.sh -d /usr/local/apache/tomcat/webapps/myapp/WEB-INF/classes -webapp
/usr/local/apache/tomcat/webapps/myapp
get Exception in thread "main' java.lang.NullPointerException
	at java.io.File.<init>(File.java:181)
	at org.apache.jasper.JspC.parseFiles(JspC.java:454)
	at org.apache.jasper.JspC.main(JspC.java:601)
what did I do wrong?
it works when I try
jspc.sh -d /usr/local/apache/tomcat/webapps/myapp/WEB-INF/classes
/usr/local/apache/tomcat/webapps/myapp/login.jsp
thanks in advance.
Stephen

Mime
View raw message