aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Page 30 example servlet showing 404 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Page 30 example servlet showing 404" Watch "Page 30 example servlet showing 404" New topic
Author

Page 30 example servlet showing 404

achuthan mukundarajan
Ranch Hand

Joined: May 30, 2012
Posts: 85
I am reading Head first JSP and servlets for SCWCD. I couldnt get the servlet example on page 30 to run.
The servlet:






The web.xml



The book tells you to to create a directory webapps in the tomcat directory and within which you have a directory called ch1 which has the WEB-INF directory. My tomcat port number is 9999 . When i try to run http://localhost:9999/ch1/Serv1 i get 404. Please help
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1661
    
  25

Did you check this thread?

Regards,
Frits
achuthan mukundarajan
Ranch Hand

Joined: May 30, 2012
Posts: 85
Changing the iso code to ISO-8859-1 helped...Error in the book
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Page 30 example servlet showing 404