aspose file tools*
The moose likes Servlets and the fly likes Tomcat 3.2.3 and JSP -- Please help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat 3.2.3 and JSP -- Please help" Watch "Tomcat 3.2.3 and JSP -- Please help" New topic
Author

Tomcat 3.2.3 and JSP -- Please help

Ambrose R Tati
Greenhorn

Joined: Nov 06, 2000
Posts: 21
Deal all,
I've just installed Tomcat3.2.3. Everything works fine with Servlets. I'm now trying to do some JSP. Started with a very simple "Hello World" JSP file under
<Tomcat3.2.3 install_dir/webbapps/ROOT/hello.jsp>
When I try to access my JSP file from my browser, with the Tomcat server running, using http://localhost:8080/hello.jsp as the URL I get a message saying: Error accessing /hello.jsp
I'm running Tomcat3.2.3 on Win98/Java1.3.
Please help
Thanks
Ambrose Tati
Patricia Fulk
Ranch Hand

Joined: Sep 10, 2001
Posts: 62
Try putting it in
Tomcat3.2.3 install_dir/webbapps/examples/jsp/<name of project dir>/hello.jsp
Trish
ted oniger
Greenhorn

Joined: Aug 05, 2001
Posts: 16
Hi Ambrose. Try to place your hello.jsp in the example folder i.e. c:\tomcat\webapps\examples and type in your URL
http://localhost:8080/examples/hello.jsp
to check whether your tomcat is configured corectly is type in your URL http://localhost:8080/
then the Tomcat default home page (index.html) should display. If this page displays, there is no reason that your jsp file will not be displayed unless there is a compilation error. Good Luck, TED
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat 3.2.3 and JSP -- Please help