Installing jsp under Tomcat
1 posts in topic
Flat View  Flat View

Posted By:   Abhi_Josh
Posted On:   Friday, June 1, 2001 10:16 AM


I have installed Tomcat 3.2.1 under windows 98. I have a problem. I am not able to figureout where (under which directory) to put the jsp and servlet files. Also tell me how to compile servlets under tomcat, where should i put these servlet files( eg HelloWorld servlet). Please explain step by step how to compile and run servlets and jsp under tomcat.


Re: Installing jsp under Tomcat

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:
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:

You can see what you coded.

That's all for new programmer.

3/Read documentation carefully. You can get all from them.
About | Sitemap | Contact