I assume you are using JBoss 3.0.x.
For jetty in jboss-service.xml of jetty-plugin.sar:
For catalina in tomcat4-service.xml(default is true since 3.0.1):
Sorry I never tried neither attributes.
In case of jetty, I'm not sure you may need compile jsp files statically.
Read Web Integration section in the JBoss 3.0 Quick Start Guide.
I tried that, but I still have the same problem. I'm running jboss-3.0.0_tomcat-4.0.3 on a Windows NT box. Every time I restart JBoss I get a new nested-xxxx.war folder in my temp directory with my exploded war, along with several nested-xxxx.jar files. When I shutdown and restart the old wars and jars aren't deleted, but a new copy is created.