Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

Which interceptor is responsible for mapping request parameters to action class Java Bean properties?

0 Answers  


What are disadvantages of Struts?

0 Answers  


Is Struts Action class Thread Safe?

14 Answers   Wipro,


What are the action classes in struts?

0 Answers  


Does Struts2 action and interceptors are thread safe?

0 Answers  






Where can I get a copy of struts?

0 Answers  


What is the difference between plain-validator and field-validator?

0 Answers  


How can we group related actions in one group in Struts?

0 Answers  


What are the aware interfaces in struts2?

0 Answers  


session menagement in servlets explaion briefly?

1 Answers  


What is the purpose of '@keyproperty'?

0 Answers  


How can duplicate form submission be handled in struts 2?

0 Answers  






Categories