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 are the action classes in struts?

1 Answers  


What is the difference between struts and spring?

1 Answers  


What is the purpose of '@customvalidator'?

1 Answers  


What is ognl?

1 Answers  


Hi i am murali.i need a excellent answer for the question Tell me about project and project flow ? i mean it is use full to any project,it is on STRUTS

2 Answers  


What is Portlet???? when,where and why we use it ??

3 Answers   Infotech, Rebaca, Wipro,


In which order struts framework searches for a message bundle?

1 Answers  


What is s token?

1 Answers  


Is it possible to create mulitple instance of one Action Class in struts?

10 Answers   Satyam,


How many action classes can be used in struts application?

1 Answers  


How action mapping is configured in Struts?

1 Answers  


What is struts? Explain

1 Answers  


Categories