• Post Reply Bookmark Topic Watch Topic
  • New Topic

http 404 resource not found error  RSS feed

 
tangara goh
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • 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]
 
Tim Moores
Saloon Keeper
Posts: 4032
94
  • Mark post as helpful
  • send pies
  • 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: 282
  • Mark post as helpful
  • send pies
  • 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: 4032
94
  • Mark post as helpful
  • send pies
  • 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: 282
  • Mark post as helpful
  • send pies
  • 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: 282
  • Mark post as helpful
  • send pies
  • 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: 282
  • Mark post as helpful
  • send pies
  • 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

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!