Executing Web Modules

See Also

During development and testing, you can execute your web module using the Sun ONE Application Server, the IDE's internal Tomcat installation, or any other server you have installed. The process is slightly different depending on whether one web module or a group of web modules is in the development environment. For more information, see Targeting the Web Server.

To execute a web module, the web server requires a configuration file. In the default case of a single web module in the IDE, the necessary server configuration is created for you. For help on executing a single web module, see Executing a Single Web Module.

Note that in order to execute or debug a JSP page or servlet in the IDE, you must place it in a web module.

To execute multiple web modules, you must create a web module group. The web module group object ensures that the server can locate a requested web module and its associated files. For help on creating a web module group, see Creating a Web Module Group.

If the web modules in a particular group use shared libraries and are being deployed to the internal Tomcat installation, then all shared libraries should be placed in the IDE-installation-dir/tomcat406 directory. Do not add shared libraries to the IDE-user-dir/tomcat406_base directory. For information about using shared libraries when deploying to other servers, see the documentation accompanying that server. Note that Tomcat does not support .zip files in the WEB-INF/lib directory.

See Also

Creating a Web Module
Debugging JSP and Servlet Files


Legal Notices