This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat 3.2.3 and JSP -- Please help

 
Ambrose R Tati
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try putting it in
Tomcat3.2.3 install_dir/webbapps/examples/jsp/<name of project dir>/hello.jsp
Trish
 
ted oniger
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic