wood burning stoves 2.0*
The moose likes Servlets and the fly likes HTTP 404 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "HTTP 404" Watch "HTTP 404" New topic
Author

HTTP 404

Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

Hi Guys,

I got a weird problem with my application it's a system that generates reports , running on tomcat , my problem is : in Myjsp on submit it goes to Myservelt to handle the request in it then display the results (all done in Myservelt even the display part ) , in Myservelt there is a link that takes you back to Myjsp if you wanna make another report all here works fine , the problem in when i try to make another request from Myjsp to Myservelt , tomcat displays this error :


So why it;s not available now although it was working fine before ?

PS: i didnt call destroy() in any part of my application ...


Thanks,
Sherif
Mohamed Inayath
Ranch Hand

Joined: Nov 22, 2004
Posts: 124
Hi,

Could you add the code snippet which is used to call the Myjsp from servlet.

Also the action value of the form from Myjsp.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

An entry from http://faq.javaranch.com/java/TomcatFaq

404 Errors

* Why do I get 404 not found?
o You are requesting a page or servlet that's not there. Check whether you are referring to an incorrect file location or have made a typo in a URL. Calling an external resource while on a computer that has no access to the Internet can also cause this.



[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

Mohamed Inayath wrote:Hi,

Could you add the code snippet which is used to allc the Myjsp from servlet.


Also the action value of the form from Myjsp.


action value : action="MyServlet"
code snippet which is used to call the Myjsp from servlet :
PS :
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

Sagar Rohankar wrote:An entry from http://faq.javaranch.com/java/TomcatFaq

404 Errors

* Why do I get 404 not found?
o You are requesting a page or servlet that's not there. Check whether you are referring to an incorrect file location or have made a typo in a URL. Calling an external resource while on a computer that has no access to the Internet can also cause this.


Hi Guys ,

I fixed this problem by enabling the request logging in the tomcat server like shown here , then i found that the resource's url i'm requesting is wrong so i fixed it than it's working fine now ... actually it;s a very good option to log the requests made to the server...

thanks guys for the help
 
wood burning stoves
 
subject: HTTP 404