Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet with tomcat4.1.27

 
Brian Smith
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi folks,
i just installed tomcat4.1.27 and tried running a simple servlet. is it true that this version of tomcat requires to configure url-mapping then only servlet can run?
thanks.
 
Gayathri Prasad
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Put ur servlet class files in Apache Group\Tomcat 4.1\webapps\examples\WEB-INF\classes.
Cheers,
Gaya3
 
Allan Wang
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I use Tomcat 4.0. I think there shouldn't be big difference between these.
I think you needn't configure servlet-mapping, if you want to test your servlet. You can access your servlet via http://yourhost/context-name/servlet/yourservletname.
hope it helps.
allan
[ September 08, 2003: Message edited by: Allan Wang ]
[ September 08, 2003: Message edited by: Allan Wang ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic