Search This Blog

Wednesday, June 12, 2013

How to use Apache Tomcat with The Black Toolkit without deploys

  1. Stop Apache Tomcat.
  2. Edit conf/context.xml and define <Context> to  <Context reloadable="true"> just for Tomcat reload your classes automatically when compiling a .JAVA.
  3. Do NOT use Step 2 with production systems.
  4. Start Apache Tomcat.
  5. With The Black Toolkit, go Configuration->Java and add the JSP jars to the classpath: TOMCAT_HOME/lib/jsp-api.jar and TOMCAT_HOME/lib/servlet-api.jar.
  6. Start a new JSP project, and save it in TOMCAT_HOME/webapps/<your_project_name>.
  7. Go to WEB-INF/vform and index.vform, change and save it, you can see it in the Browser.
  8. Go to WEB-INF/classes, create, modify, compile classes. And note: No deploys!!

No comments:

Post a Comment