• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

http 404 resource not found error

 
Ranch Hand
Posts: 1021
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi expert,

I have again encountered another http 404 error but this time round I really can't resolve the problem.

Please find attached my tomcat configuration.

As I know that Tomcat version 8 servlet mapping is not required so I did not specifically specify the mapping in the web.xml.

The post form I have put in the correct context path etc...

The problem:
----------------
The jsp page will appear but when I hit submit then the http 404 resource not found will appear

I hope someone can give me a clue where I had gone wrong.

Tks.
Tomcat-server-screen-shot.jpg
[Thumbnail for Tomcat-server-screen-shot.jpg]
 
Saloon Keeper
Posts: 7582
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That picture doesn't really tell us anything. What is the URL you're trying to address? And how have you mapped a resource to that URL?
 
tangara goh
Ranch Hand
Posts: 1021
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Moores wrote:That picture doesn't really tell us anything. What is the URL you're trying to address? And how have you mapped a resource to that URL?



Hello Tim,

I hope the attachment will let you know more about the problem.

HTTP-Status-404-error.jpg
[Thumbnail for HTTP-Status-404-error.jpg]
 
Tim Moores
Saloon Keeper
Posts: 7582
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Moores wrote:And how have you mapped a resource to that URL?



Also, can you access default.jsp directly via HTTP?
 
tangara goh
Ranch Hand
Posts: 1021
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Moores wrote:

Tim Moores wrote:And how have you mapped a resource to that URL?



Also, can you access default.jsp directly via HTTP?



Here's how I mapped it :





Nope.  I tried to access the dafault.jsp and it is giving me the same 404 resource not found error

What have I done wrongly or is there anything that I have overlooked ?
 
tangara goh
Ranch Hand
Posts: 1021
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Tim,

I'd also like to add that I do not have a default.jsp so if I tried to access default.jsp it would not be possible right ?

Is this where the problem lies ?
 
tangara goh
Ranch Hand
Posts: 1021
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I managed to find the solution.  After I wrestled for so many hours...it seems that my j-connector was not included in the new web app ....

Tks to Jeanne for her suggestion and now my debugger is running...

Tks to you guys !!!

Only thing is the database design I am still stuck

 
Danger, 10,000 volts, very electic .... tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic