• +91 9723535972
  • info@interviewmaterial.com

Struts Interview Questions and Answers

Question - What’s declarative exception handling in Struts?

Answer -

When logic for exception handling is defined in struts-config.xml or within the action tag, it’s known as declarative exception handling in Struts.

In the following example, we have defined exception in struts-config.xml file for NullPointerException:



Type="java.lang.NullPointerException"

Path="/WEB-INF/errors/error_page.jsp"

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners