Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is value stack?

1099


What is the purpose of interceptors?

1052


How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?

1119


If the framework doesn’t do what I want, can I request that a feature be added?

1008


How to work with error tags?

1006


Can we integrate struts with spring?

1052


Why do the struts tags provide for so little formatting?

1013


What configuration files are used in struts?

1008


List some struts tag libraries?

1002


Will the struts tags support other markup languages such as wml ?

1042


How nested beans can be used in Struts applications?

1055


How can we handle exceptions thrown by application in Struts2?

996


Are struts and shocks the same?

966


What is the difference between requestaware and servletrequestaware interface?

1100


What is the role of action class?

1085