To my great delight, I've managed to setup Tomcat to make use of the pre-compiled JSPs I generate with ant. What I've done is to add this to the global web.xml
<init-param> <param-name>scratchdir</param-name> <param-value>../server/default/jsps</param-value> </init-param> It works like a charm for a single deployment, but since it ignores the servlet context path, two JSPs in two different applications end up overwriting each other. E.g., deploying a.ear and b.ear, both these pages get compiled into ../server/default/jsps/jsp/index_jsp.[java/class]: http://myserver/a/index.jsp http://myserver/b/index.jsp Is there any way to prevent this? Ideas: is there any way to configure scratchdir to heed the context path (e.g. though the use of the "classpath")? Is there a way to at least configure this parameter in the deployed application's web.xml -- rather than the global web.xml? Any other ideas are welcomed. TIA, Zorzella View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822225#3822225 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822225 ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user