This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes Servlet Problem In Tomcat5 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Servlet Problem In Tomcat5" Watch "Servlet Problem In Tomcat5" New topic
Author

Servlet Problem In Tomcat5

Santosh Maskar
Ranch Hand

Joined: Jul 02, 2003
Posts: 226
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

Joined: Feb 20, 2001
Posts: 3695

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

Joined: Jul 28, 2004
Posts: 3
Santosh- what is the URL which you used to access the servlet?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Servlet Problem In Tomcat5
 
Similar Threads
ServletContext.getRealPath()
Deploying My WebApp in Tomcat
servlet 404 error
Help Me
TOMCAT can't find classes in /WEB-INF/classes