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 / sandeep
We can use setLoginTimeout() method of DriverManager
Class..to specify the amount of time it will wait for the
connection and if doesn't get any connection then we can
handle it..redirecting it to some error pages as we usually
do to forward to a specific page...
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is the difference between struts and spring?
How we can configured action mapping in struts?
What are the two types of validations supported by validator framework?
Why are springs better than struts?
What does it cost to replace struts?
What does the term struts mean?
How struts 2 validation works?
Why are frameworks used?
What is struts in j2ee?
Which design pattern the interceptors in struts2 is based on?
What are the life cycle methods of interceptor?
What is request processor and how does it relates to action mapping?
How can we handle exceptions thrown by application in Struts2?
What is struts-default package and what are it’s benefits?
how to debug struts project in netbean ?