• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception when using struts tag

 
Haifeng Jiang
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got below exception which displayed on the web page directly.
[ServletException in:/WEB-INF/jsp/paymentInstruction/businessPartnerDetails.jsp] Define tag cannot set a null value'

I found here my jsp after compiled.

there should be the problem. setParent method doesn't accept null value.

Now I don't want the exception display on the web page directly. I want to catch the exception(should be ServletException? I am not sure) and display a friendly page to the user? Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic