Getting 404 for jsp view resolver

Jagdeep Singh
Jagdeep Singh used Ask the Experts™
on
HTTP Status 404 ? Not Found
Type Status Report

Message /myapp/WEB-INF/views/verification.jsp

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Distinguished Expert 2018
Commented:
Do not put the JSP files into the WEB-INF folder. You should put them on the root folder (the same that contains the WEB-INF). Then change the resolver to resolve them form the root folder.

Author

Commented:
Thanks for your reply, But it was working for last 4 months.  From last days, it's giving the error.
is the project newly build ?

is this error coming for all JSP ? if not then your JSP contain some error .  so its not add into your JAR

Extract your JAR file and check myapp/WEB-INF/views/verification.jsp  .
it wont be there
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Distinguished Expert 2018

Commented:
From last days, it's giving the error.

What happened during the last few days? Any changes in the server?
Distinguished Expert 2018

Commented:
My first comment is the right answer. From the JSP path it seems that the JSP files are in the wrong place.
User mention that its working fine for last 4 month so It wont be the solution
Distinguished Expert 2018

Commented:
No, the user stated that it *was* working. Your comment did not add anything new to the question, aside the fact that it is wrong and misleading since you said

if not then your JSP contain some error

404 does not mean that the JSP contains error. 404 means that the resource cannot be found.
Distinguished Expert 2018

Commented:
This is the correct answer.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial