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 / balaji
Create user defined exception catch it and redirect it to
error page
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is value stack?
What is the purpose of interceptors?
How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?
If the framework doesn’t do what I want, can I request that a feature be added?
How to work with error tags?
Can we integrate struts with spring?
Why do the struts tags provide for so little formatting?
What configuration files are used in struts?
List some struts tag libraries?
Will the struts tags support other markup languages such as wml ?
How nested beans can be used in Struts applications?
How can we handle exceptions thrown by application in Struts2?
Are struts and shocks the same?
What is the difference between requestaware and servletrequestaware interface?
What is the role of action class?