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 role of action class in struts?

0 Answers  


How is a lookup dispatch action created?

0 Answers  


how the error can be showed in the jsp page in struts?

3 Answers   Wipro,


Why aren’t the struts tags maintained as part of the jakarta taglibs project ?

0 Answers  


What is the difference between struts and spring?

0 Answers  


What are Struts2 core components?

0 Answers  


how can u handle run time exceptions in struts and jsp plz explain briefly not single word answer?

2 Answers   TCS,


What is role of action class?

0 Answers  


Hai all.What is the use of <logic:iterate>tag in struts application.

3 Answers   CA, TCS,


what is diffrence between Dynaactionform,actionform and Dynavalidateform

8 Answers   TCS,


What’s the difference between struts and turbine? What’s the difference between struts and espresso?

0 Answers  


Explain about the process of functioning of the struts program?

0 Answers  


Categories