• Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception Handling in JSP Pages

 
Viral Thakkar
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Is there any best practices on how to handle the exceptions which arise in JSP pages ..?

We are using struts framework..

Should we use error.jsp and isError page usage..?

any other approaches welcome.

Regards,
Viral
 
Vishal R Patel
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Viral,

In struts framework, JSP is just a simple view having no logically terms which throws exception/error. Originally exception/error should be caught by the configuration servlets (arised in Model or Controler) and have to redirect the flow of the request (as error.jsp)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!