How to Send particular error to another page in Servlet from web.xml
Hi you can forward particular error from web.xml file as
<error-page> <error-code>404</error-code> <location>404Error.jsp</location> </error-page>
You can also send error from Servlet as
response.sendError(404, "Resource Nor Found");
When an error related to 404 occurs the page 404Error.jsp will be called automatically
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.