I want to use jspc with Tomcat to precompile my whole web-application. But if I use the -webapp switch I always get a NullPointerException. What's wrong? Compiling every file on its own seems to work. If I do this, does it mean that I have to map the jsp-names to the servlets in the web.xml file?

Serge Knystautas

Tomcat 3.1 does not support the -webapp parameter. Tomcat 3.2b6 that is currently out supports it, although there are a few bugs with the latest jasper compiler. With the final release of Tomcat 3.2, you should be able to do this.