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 Installed Tomcat 4.1.24 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 "Installed Tomcat 4.1.24" Watch "Installed Tomcat 4.1.24" New topic
Author

Installed Tomcat 4.1.24

Leon Chen
Ranch Hand

Joined: Apr 09, 2003
Posts: 96
jsp runs fine, looks like there are some problems with servlet:
HTTP Status 404 - /chapter01/servlet/HelloWorldServlet


Leon - SCJP, SCWCD, SCBCD, ICED
Surendra Chauhan
Greenhorn

Joined: Jan 24, 2002
Posts: 10
Please chech Invoker servlet entry, which lets the Tomcat run the application servlet without first making changes to /WEB-INF/web.xml file. The class file for the servlet is dropped to the folder WEB-INF/classes and use http://host/servlet/ServletName
To invoke the invoker servlet, uncomment the following lines in $install_dir/conf/web.xml (for example, c:/Program files/Apache Group/Tomcat 4.1/conf/web.xml

<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern</servlet/*<url-pattern>
</servlet-mapping>


Surendra<br />SCJP
 
GeeCON Prague 2014
 
subject: Installed Tomcat 4.1.24