Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • 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>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic