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 jakarta struts framework?

0 Answers  


What are the major differences between html tags and strut specific html tags?

0 Answers  


what is ForwardAction and IncludeAction in struts?

3 Answers   Mind Tree, Satyam,


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

0 Answers   Oracle,


What is the purpose of @after annotation?

0 Answers  






What does params interceptor?

0 Answers  


What do you mean by ognl?

0 Answers  


What kind of mvc is struts 2?

0 Answers  


explain the Struts flow?

4 Answers   Wipro,


Define struts?

0 Answers  


where you will implement the tiles in struts?

2 Answers   Wipro,


can we change the order of parameters in execute()?

4 Answers   Polaris, Serco,


Categories