Running a JSP File

As with other files, it's easy to run JSP files during the development cycle. If the JSP source has not been compiled, or if it has changed since it was last compiled, the IDE will automatically compile the file before running it. If the webserver and web browser have not been started, the IDE will automatically start them for you.

To run a JSP file:

  1. In the IDE Explorer, click the Filesystems tab and locate your JSP file.

  2. From the IDE main menubar, select Build Execute.

    If there are no errors , you will be switched to the Running workspace and the output from the compiled JSP page will be displayed in the web browser.
You don't need to restart the server to pick up changes in the JSP file. However, you will need to restart the server if there are changes you want to pick up in components referenced by the JSP file (such as JavaBeans components or error pages). In those cases, simply right-click the JSP file and select "Execute (restart server)" from the pop-up menu.
See also
Creating a JSP File
Editing a JSP File
Compiling a JSP File
Configuring the JSP Executor

Legal Notices