About Running Web Modules

See Also

During development and testing, you can execute your web module from the IDE using one of the supported server plugins that implements a J2EE web container. The process for running a web module is slightly different depending on which server you use. See the Web Modules help subfolder for the specific server for information about running web modules, JSP files, and servlets on that server. For more information about specifying the server on which to run the web module, see Targeting the Web Server.

To execute a web module, the web server requires a configuration file. When you create a web module from the IDE, the IDE creates the necessary server configuration for you.

tip  You must place a JSP file in a web module to be able to run it from the IDE.

All the resources that the web module uses must be in the server's class path and their placement must follow the WAR structure:

Troubleshooting

If you get "file not found" errors when you execute a web module, see Accessing Local files Through a Proxy for possible solutions.

If the browser does not reflect changes in in a JSP file or HTML file, this might be because of the way the browser is caching pages. Check the browser's settings to ensure that the browser is reloading the page every time you access it.

See Also

About Creating Web Modules
About Debugging Web Modules


Legal Notices