• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Servlet Problem In Tomcat5

 
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Santosh- what is the URL which you used to access the servlet?
reply
    Bookmark Topic Watch Topic
  • New Topic