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

Head First Servlets and JSP - Ch 3

 
Chris Jr
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have installed tomcat as instructed and created form.html and deployed as instructed on /tomcat/webapps/Beer-v1/for.html.

But on invoking http://localhost:8080/Beer-v1/form.html the page is not getting displayed.
 
Chris Jr
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it working.
 
Richard Green
Ranch Hand
Posts: 536
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What was wrong?
 
Naresh Saw
Ranch Hand
Posts: 66
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

first check wether ur tomcat is working or not. if it is the check ur deployment discriptor. i think it should work.
 
Chris Jr
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The web.xml file had an error.

i could figure this out by going to http://localhost:8080/manager/html and trying to start the application.

Thanks guys for your input
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic