when connecting with the database,if database server is
down,ho can we handle this exception in struts,how can we
send error message to the user?

Answer Posted / manjunath

by using database unavailable exception class()..

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Struts2?

618


Name some useful annotations introduced in Struts2?

530


What is the role of action class?

565


What is the role of a handler in mvc based applications?

744


Difference between struts and spring?

581






State an example of struts configuration file as an action parameter for action servlet.

535


Difference between struts and spring? Or why use spring, if you are already using struts?

532


What is struts?

579


What is the use of web xml in struts2?

521


How an actionform bean is created?

565


How we can controlled duplicate form submission in struts?

515


Are interceptors thread safe?

564


Can you explain aware interfaces in struts2?

582


What is the purpose of @action annotation?

565


Why use spring, if you are already using struts?

556