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 is the purpose of @conversionerrorfieldvalidator annotation?

0 Answers  


what happen if the private constructor is written in a claass

6 Answers  


What is the purpose of @action annotation?

0 Answers  


Is it possible to create mulitple instance of one Action Class in struts?

10 Answers   Satyam,


What is purpose of execandwait interceptor?

0 Answers  


How to add ms-word file in struts at the same time how to add images

1 Answers  


What is the purpose of @requiredstringvalidator?

0 Answers  


What types of validations are available in xml based validation in struts2?

0 Answers  


What is the use of reset method of ActionForm class?

0 Answers  


How is the Struts framworl related to MVC2?

2 Answers   Wipro,


What is the purpose of @doublerangefieldvalidator annotation?

0 Answers  


Which model components are supported by Struts?

0 Answers  


Categories