Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem Configuring Tomcat 5.0.28 for Servlets

 
Parth Bhatt
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !!
Can somebody help me out with configuring tomcat 5.0.28 for servlets...
I'm using Windows XP and jdk1.5....

The servelet class file has been copied to webapps/servelets-examples/web-inf/classes and servelet name and mappings have also been defined in web.xml Also, the javahome veriable is also defined.

When i run startup.bat it shows a lot of exceptions

After all this, when i try to run a servlet it shows a 404 Error !!

I need a detailed procedure of configuring the tomcat server and running a servelet....
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The firstApp tutorial does a good job of explaining the directory structure of a J2EE webapp.
http://tomcat.apache.org/tomcat-5.5-doc/appdev/index.html

It's also explained here:
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html

NOTE: "WEB-INF" needs to be typed in upper case.
 
Parth Bhatt
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ben....!!
Its gonna help me big deal...!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic