File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot deploy servlet(resource not available)
 
Similar Threads
404 error
Unable to Run a Servlet in Apache Tomcat
404 Error
Error 404 while requesting for a page
Cannot get Servlets Demystified Problem