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


drawback of Validation Framework
where and how to write the connection pool object in the
programe
how to debug the programe and application in struts without
using eclips



drawback of Validation Framework where and how to write the connection pool object in the program..

Answer / chandra

Connection pool u need to specify in the struts-config.xml

<data-sources>
<!-- configuration for commons BasicDataSource -->
<data-source type="org.apache.commons.dbcp.BasicDataSource">
<set-property
property="driverClassName"
value="org.postgresql.Driver" />
<set-property
property="url"
value="jdbc:postgresql://localhost/mydatabase" />
<set-property
property="username"
value="me" />
<set-property
property="password"
value="test" />
<set-property
property="maxActive"
value="10" />
<set-property

</data-source>
</data-sources>


coming to debugging with out eclipse see the logfile

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More Struts Interview Questions

What kind of mvc is struts 2?

0 Answers  


What is the purpose of struct-config.xml in struct2?

0 Answers  


Which design pattern is implemented by Struts2 interceptors?

0 Answers  


tell me struts flow ?

5 Answers   BA Continnum Solutions, Exira, Fidelity, iGate,


what is frame work in struts?

3 Answers   Infosys,


why servlet is used as controller not JSP?

9 Answers   MCS,


What are the important methods of actionform?

0 Answers  


What is structs 2 validation framework?

0 Answers  


How do you know what to give for the "path " under in struts-config.xml ?

1 Answers  


What are the advantages of spring mvc over struts mvc?

0 Answers  


how canu done chechin and check out of u r project using with sample examples?

8 Answers   CTS, Logica CMG,


Can we have different controllers in one struts app?

7 Answers   Accenture,


Categories