I am using JBuilder with Tomcat - Can I configure JBuilder to simulate the "load-on-startup" option in Tomcat's web.xml ?

Paul Davis

This is comparatively easy, just add your web.xml file to a WEB-INF subfolder in the "document base" of your project. So, if your docbase is:
then your web.xml file would reside at:
and JBuilder will pick that up when you next run the project through JBuilder.

To find out the document base, go to Project... Properties..., select the "Run" Tab and under that the "JSP/Servlet" tab, then the subtab "Server Options", and check the setting of the document base (it's easier than it sounds, honest!).

About | Sitemap | Contact