aspose file tools*
The moose likes Servlets and the fly likes HTTP Status 404 - simple Custom Cookie from HF book Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "HTTP Status 404 - simple Custom Cookie from HF book" Watch "HTTP Status 404 - simple Custom Cookie from HF book" New topic
Author

HTTP Status 404 - simple Custom Cookie from HF book

Rahul Sudip Bose
Ranch Hand

Joined: Jan 21, 2011
Posts: 637

I am not using any IDE to make this. I made minor changes to the book code. I am getting an error. Tomcat says running=false in manager ?
I got an error 404. Please let me know the error(s) i am making. Is it advisable to do my projects in an IDE ? Will it take "a lot" of time to learn the IDE basics to do all this ?

My Directory Structure :




This code calls MyCookie/servlet 1 and sends it name from a text-box.
index.html



servlet 1 will return this link to servlet 2 via this jsp
result.jsp


web.xml


CheckCookie.java : my second servlet


MyCookie.java : my first servlet


SCJP 6. Learning more now.
Rahul Sudip Bose
Ranch Hand

Joined: Jan 21, 2011
Posts: 637

Defeated by the "/" again...sorry.
Here is the corrected xml file.
I suppose that resource not found is caused by an error in the xml file, the directory structure is wrong (anything else ???).Now it works fine.

web.xml

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: HTTP Status 404 - simple Custom Cookie from HF book