Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Help - problem with a fresh install of tomcat and JSP  RSS feed

 
Oz Kron
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
I have just install Tomcat 6.0.14 on my pc
Than I just download a "simple" program made in JSP - the one they have on their site, and when trying to run it by doing
http://localhost:8080/sample/hello.jsp

I get this error page, what to do please ?? :
 
Michael Ku
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have you tried going to the Tomcat site and reading their documentation on getting started?
[ October 02, 2007: Message edited by: Michael Ku ]
 
Oz Kron
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep!
the usually servelt does work!
And so is the "start" page you get after the install
But, the example JSP - not
What can I do to fix it up please ?
 
Stefan Evans
Bartender
Posts: 1836
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What version of Java are you running with this?
Have you created your own web application?

My favorite reference for getting started:
http://www.coreservlets.com/Apache-Tomcat-Tutorial/

This would seem to be a classpath issue. You're not including old versions of the jsp-api or servlet-api in the classpath (or WEB-INF/lib directory) are you?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!