This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Problem In Tomcat5

 
Santosh Maskar
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have One Servlet which Print the NAme butIn Tomcat 5 IT is giving me 404 Error code

For Eg.
JDK : d:\jdk1.4.2
Tomcat d:\tomcat5
Class D;\tomcat\webapps\MyServlet\WEB-INf\classes\HelloServelt.classs
Web.xml D;\tomcat\webapps\MyServlet\WEB-INf\Web.xml

is here anything that missed out

please help me why this show 404
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) all your classes (servlets included) should be in a package.
2) web.xml (not Web.xml) and WEB-INF (not WEB-INf)
3) you are probably thinking the invoker is active?
Invoker FAQ
 
Navin Ramineni
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Santosh- what is the URL which you used to access the servlet?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic