What is declarative exception handling in struts?



What is declarative exception handling in struts?..

Answer / Sarvesh Siddharth

Declarative exception handling in Struts refers to the method of handling exceptions without writing any code for exception handling. This is achieved by using the exception-mapping element in the web.xml file, where you can specify a specific JSP page or action class to handle a particular exception.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Struts Interview Questions

Which configuration file is used for storing jsp configuration information in struts?

1 Answers  


How exception handling is provided in struts?

2 Answers   Accenture,


how you implement and maintain your struts project by using MVC2 arch?

2 Answers   Patni, Wipro,


How do u provide security to ur project?(Banking domain project)

1 Answers   Polaris,


What is pojo in struts2?

1 Answers  


What is action class?

1 Answers  


how to write uploadphoto in the insert update delete using struts? write code struts and jsp jdbc

1 Answers  


we have 7 jsp pages .At last page we have a submit button when we click it it will store all jsps data which we provide will store into database. when we starting providing data in jsp pages when we are at 3rd jsp at that time sessions timeout where the data will be store which we r provide in last two jsps?

2 Answers  


Hi All thanks in advance, iam new to j2ee currently in my project we r using struts with hibernate can i have one sample application like CRUD application with code or any tutorials liks r ebooks plz....?

1 Answers   IBM,


What is the difference between plain-validator and field-validator?

1 Answers  


How an actionform bean is created?

1 Answers  


why do we typecast ActionForm into our plain java bean class in Action class? What is the reason?

4 Answers  


Categories