Signup · Login
Stardeveloper.com  
Home · Tutorials · Forums · Web Hosting Plans · Faisal Khan's Blog · Contact
Forums : J2EE : JSP : HTTP Status 404 Signup · Login
Author Thread
HTTP Status 404
Posted in tutorial: Introduction to Java Servlets, Developing your first Java Servlet
·  pixote
User
Joined: 28 Feb 2003
Total Posts: 1
HTTP Status 404
Posted: 28 Feb 2003
I keep getting a "HTTP Status 404" message. Everything compiles and I believe my system is configured correctly. JSP pages work ok.

Im using:
jakarta-tomcat-4.1.18
j2sdk1.4.1_01

I cannot communicate with any of my practice servlets.

Any ideas?

Thanks

pixote
·  Faisal Khan
AdminAdminAdminAdmin
Joined: 24 Sep 2002
Total Posts: 547
Re: HTTP Status 404
Posted: 28 Oct 2007
You got the error because after the tutorial was originally written, the JSP spec has been updated. You now *must* deploy the Servlet in the web.xml file in order for you to access it via a URL.

I have updated the tutorial to JSP's latest 2.1 spec and Tomcat 6.0.14. Please read the tutorial again and this time you will be able to successfully deploy and run the Servlet.

Faisal Khan.
Stardeveloper.com
·  nishnishdon
User
Joined: 11 Feb 2009
Total Posts: 1
Error HTTP Status 404 the resources are not avaible
Posted: 11 Feb 2009
I have done all things
web.xml
server.xml
and ar per my thinking my system is configered as it have but i steel get the error and can not run servlet
so plese help me
i am using apache tomcat 6.0.18 & jdk1.6
& jre1.6
so plese help me

Program

Users Subscribed To This Thread
nishnishdon  

Users Who Have Visited This Thread In Last 24 Hours
7 Visitors

Login
UserName Or Email Address:       Password:       Auto-Login:    
· Create New User Account
· Send Forgotten Password by Email
 
© 1999 - 2009 Stardeveloper.com, All Rights Reserved.