Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Installed Tomcat 4.1.24
 
Similar Threads
Capturing Form Data
javascript, servlets and SVG
Export in Excel
How can I change the sdk version of Websphere 4 if I already install it
Is there any way to get Servlet Init Parameter using EL?