Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

HTTP 404

 
Ranch Hand
Posts: 493
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ...
 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
S Shehab
Ranch Hand
Posts: 493
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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 :
 
S Shehab
Ranch Hand
Posts: 493
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
reply
    Bookmark Topic Watch Topic
  • New Topic