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

how you implement and maintain your struts project by using MVC2 arch?

2 Answers   Patni, Wipro,


Does Struts2 action and interceptors are thread safe?

0 Answers  


What are result types in struts?

0 Answers  


Please can you tell me ,where can we used the MVC other than web applications.

1 Answers  


What are the benefits of Interceptors in Struts2?

0 Answers  


What is the difference between struts and spring?

0 Answers  


What are the classes used as part of struts framework ?

0 Answers  


in struts without integrate hibernate how to use directly explain?

1 Answers   HCL,


Why do we need mapdispatchtoprops?

0 Answers  


What are the core components of a struct2 based application?

0 Answers  


How you will make available any message resources definitions file to the struts framework environment?

0 Answers  


Does apache struts run on windows?

0 Answers  


Categories