Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This will start the server if it not already started and run the application. The application's welcome page will open in a browser inside Eclipse.

Quick Debugging JSPs of your application

This section describes a method that will be especially useful for testing small changes in JSP files without having to go through a cumbersome reload process. This example will be demonstrated with the plancreator plugin:

  1. Modify <geronimo-directory>\var\catalina\conf\web.xml:
    • Set the development parameter to true in the init-param to org.apache.jasper.servlet.JspServlet
    • Edit (add if doesn't exist) the modificationTestInterval to 0
  2. In the webapp that you intend to modify, find the web.xml and remove the servlet-name and servlet-mapping of the jsp you intend to modify and test.
    For example, for PlanCreator, edit the plancreator-console-tomcat-2.2-SNAPSHOT.car\WEB-INF\web.xml.
  3. Restart the server with these settings in place.

Once this is done, you can modify the jsp in place and hit refresh to test it. It'll be recompiled each time.