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
Can we have more than one struts-config.xml file for a single struts application?
Why we use struts over servlets?
What is struts-default package and what are it’s benefits?
What is apache struts cve 2017 5638?
Mark the differences between html tags and strut specific html tags.
while working struts in intellij 7.0error unable to initialize tld location cache: zip file is closed is displayed anybdy can answer me immdialy .ungert
Explain about how requests from the client are sent?
What is the purpose of action-mappings tag in struct-config.xml?
What is the purpose of @doublerangefieldvalidator?
How is token generated?
Explain about the process of functioning of the struts program?
What does apache struts do?
How to build struts application in eclipse?
What is front controller in struts?
Whats the difference between the default namespace and the root namespace?