• Post Reply Bookmark Topic Watch Topic
  • New Topic

Installed Tomcat 4.1.24

 
Leon Chen
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jsp runs fine, looks like there are some problems with servlet:
HTTP Status 404 - /chapter01/servlet/HelloWorldServlet
 
Surendra Chauhan
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!