Posted By:
Loc_Le
Posted On:
Monday, June 4, 2001 08:04 PM
1/ Check if you successfull installed Tomcat by starting up Tomcat, the open your web browser and type the following address:
http://localhost:8080/
If you can view JSP and Servlet examples, go to step 2. If not, read the document and configure your Tomcat. It's easy.
2/ Copy your JSP files to %TOMCAT_HOME%webappsROOT (for eg. HelloWorld.jsp)
Copy your Servlet files to %TOMCAT_HOME%webappsROOTWEB-INFclasses (for eg. HelloWorld.class)
Then, startup your Tomcat and type:
http://localhost:8080/HelloWorld.jsp
or
http://localhost:8080/servlet/HelloWorld
You can see what you coded.
That's all for new programmer.
3/Read documentation carefully. You can get all from them.