As with other files, it's easy to execute JSP files during the development cycle. If the JSP file has not been compiled, or if it has changed since it was last compiled, the IDE automatically compiles the file before executing it. If the web server and web browser have not been started, the IDE automatically starts it.
To execute a JSP file:
If there are no errors, you are switched to the execution workspace and the output from the compiled JSP page is displayed in the web browser.
You don't need to restart the server to pick up changes in the JSP file. However, you do need to restart the server in the case of a servlet file, or if there are changes you want to pick up in components referenced by the JSP, such as JavaBeans components or error pages. In those cases, simply right-click the JSP or servlet file and choose "Execute (Force Reload)" from the contextual menu.
![]() |
To execute JSPs using an external browser without an Internet connection, you must set the browser to connect directly to the Internet. Do not use a proxy or configuration proxy URL. For more information about using external browsers, see the online help page entitled Accessing Local Files Through a Proxy in the Core IDE Help. This page is available from the Web Browser section of the Configuring the Environment folder in the Core IDE Table of Contents. |
See also | |
---|---|
Creating a JSP or Servlet File Editing a JSP or Servlet File Compiling a JSP Source File |