Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jsp Error page  RSS feed

 
Bandita Patel
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can we handle exception without sending to error page?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wrap the entire JSP in a try/catch? Bad practice, though--better to avoid the error by properly coding on the Java side and sending known-good data to the JSP/view side.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!