- With The Black Toolkit, go Configuration->Java, find and add the JSP jars to the classpath: jsp-api.jar and servlet-api.jar. They can be at JBOSS_HOME/lib, but depends of the version of JBoss.
- Start a new JSP project, and save it in JBOSS_HOME/<deploy_folder>/<your_project_name>.war. The folder name must finish with .war.
- You must change some configuration details for autodeploy. This configuration changes every version of JBoss. So check http://www.jboss.org.
- For JBoss 7 (and latest 6),you must create a empty file <your_project_name>.dodeploy in JBOSS_HOME/<deploy_folder>.
- Do not use 7.1.1.
Search This Blog
Showing posts with label jsp. Show all posts
Showing posts with label jsp. Show all posts
Thursday, June 13, 2013
How to use JBoss with The Black Toolkit without deploys
Wednesday, June 12, 2013
How to use Apache Tomcat with The Black Toolkit without deploys
- Stop Apache Tomcat.
- Edit conf/context.xml and define <Context> to <Context reloadable="true"> just for Tomcat reload your classes automatically when compiling a .JAVA.
- Do NOT use Step 2 with production systems.
- Start Apache Tomcat.
- 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.
- Start a new JSP project, and save it in TOMCAT_HOME/webapps/<your_project_name>.
- Go to WEB-INF/vform and index.vform, change and save it, you can see it in the Browser.
- Go to WEB-INF/classes, create, modify, compile classes. And note: No deploys!!
Subscribe to:
Posts (Atom)