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...

How display data base errors on web console by using the
Struts Framework?

Answer Posted / ranjith nambiar

In hibernate configuration file, hibernate.cfg.xml, with in <session-factory> put <property name="show_sql">true</property>.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you create your custom interceptor in struts 2?

894


What is the purpose of @before annotation?

953


How nested beans can be used in Struts applications?

955


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

1016


Are struts still used?

899


Which tag is used to declare constants in struts xml?

893


What are the struts2 error message keys that can come during file uploading process?

1010


In how many ways duplicate form submission can occurs?

940


What does validation interceptor?

931


Why do the struts tags provide for so little formatting?

927


What is the purpose of @conversion annotation annotation?

1190


How we can configured action mapping in struts?

965


What is the difference between requestaware and servletrequestaware interface?

989


Explain how can we upload files in struts2 application?

1002


Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?

870