| Where do I put my jsp sources and beans? |
|
If you just want to test JSPs without creating a separate web-application you can use the default "webcontainer_examples" application. If you want to create a new web-application please read "how to install a new web-application?". To use the default, put all your JSP source under /webcontainer_examples/jsp, either in the same directory or under a new subdirectory of /webcontainer_examples/jsp (as done in the included examples). Put all your beans (class files) under /examples/WEB-INF/jsp/beans appropriately (as done for the included beans). When AppServer starts tomcat, it will automatically add these classes to the CLASSPATH at runtime. Note: if your server is already running, you will need to stop and restart it. You can invoke your jsps using http://locahost:8080/webcontainer_examples/jsp/yours.jsp |