Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot deploy servlet(resource not available)

 
Sefa Urgenc
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi y'all,

I have a problem deploying the first servlet from Head First, tell me what I am doing wrong (Tomcat5, Java 1.5, WinXP).

http://localhost:8080/ch1/Serv1

and my web.xml is


I have compiled the servlet and put it under webapps\ch1\WEB-INF\classes\Ch1Servlet.class

Thanx,
Sefa Urgenc
 
Sebastien Col
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Did you add the ch1 context in the server.xml file ?
Which error do you actually get ?
Seb
 
Pramod Kumar Pandey
Ranch Hand
Posts: 52
Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would you please paste the stackTrace you are getting ?
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2281
81
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pramod Kumar Pandey wrote:Would you please paste the stackTrace you are getting ?

Well I guess he solved it 9 years ago
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic