This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Cannot deploy servlet(resource not available) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Cannot deploy servlet(resource not available)" Watch "Cannot deploy servlet(resource not available)" New topic
Author

Cannot deploy servlet(resource not available)

Sefa Urgenc
Ranch Hand

Joined: Jul 25, 2002
Posts: 34
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

Joined: Aug 18, 2005
Posts: 13
Hi,
Did you add the ch1 context in the server.xml file ?
Which error do you actually get ?
Seb
Pramod Kumar Pandey
Ranch Hand

Joined: Dec 05, 2013
Posts: 52

Would you please paste the stackTrace you are getting ?
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper

Joined: Apr 07, 2010
Posts: 2007
    
  39

Pramod Kumar Pandey wrote:Would you please paste the stackTrace you are getting ?

Well I guess he solved it 9 years ago
 
Have you checked out Aspose?
 
subject: Cannot deploy servlet(resource not available)
 
It's not a secret anymore!