1. Download the slashjava.zip file. It contains a webapp (servlet) to deploy into your app container. I have tested it with Apache 6.0, YMMV.
2. Unzip the file into ${TOMCAT_HOME}/webapps/SlashJava. The default display name is SlashJava. Edit the WEB-INF/web.xml if you want to change it.
3. Start your server.
4. Navigate to http://localhost:8080/SlashJava/. You should see the demo page, containing a couple buttons and a dynamic image. The page is index.html, which should show you how to work with SlashJava. You can also navigate to a class directly, like http://localhost:8080/SlashJava/com.slashjava.tools.HelloWorld.java. The HelloWorld.class is located in WEB-INF/classes
5. That's it. Any classes that you add to WEB-INF/classes will be browse-able via their corresponding URL, either directly from the browser, or in a web page via a URL.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Welcome to Help
What to do:
1. Download the slashjava.zip file. It contains a webapp (servlet) to deploy into your app container. I have tested it with Apache 6.0, YMMV.
2. Unzip the file into ${TOMCAT_HOME}/webapps/SlashJava. The default display name is SlashJava. Edit the WEB-INF/web.xml if you want to change it.
3. Start your server.
4. Navigate to http://localhost:8080/SlashJava/. You should see the demo page, containing a couple buttons and a dynamic image. The page is index.html, which should show you how to work with SlashJava. You can also navigate to a class directly, like http://localhost:8080/SlashJava/com.slashjava.tools.HelloWorld.java. The HelloWorld.class is located in WEB-INF/classes
5. That's it. Any classes that you add to WEB-INF/classes will be browse-able via their corresponding URL, either directly from the browser, or in a web page via a URL.