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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Can explain about the validations and in your project where did u used the validations?

7638


What is form bean in struts?

947


What are the two types of validations supported by validator framework?

1018


What is the use of struts config xml file?

860


Explain struts.devmode?

962


What is the use of resourcebundle.properties file in Struts Validation framework?

1057


What is xml based validation in struts2?

1055


Which configuration file is used for storing jsp configuration information in struts?

997


What are the sections into which a strut configuration file can be divided?

1044


What is interceptor? And life cycle methods of interceptor?

1026


How you will enable front-end validation based on the xml in validation.xml?

1070


How the exceptions are handled in struts?

988


What is the use of forwardaction?

1012


How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?

2961


What is purpose of execandwait interceptor?

1083