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 tiles in struts?

6 Answers  


What is the purpose of plug-in tag in struct-config.xml?

0 Answers  


how can you switch onemodule to another module by switch action class plz explain with exapmle?

1 Answers   Atos Origin, HeadStrong, Satyam,


Is struts mvc framework?

0 Answers  


What is the default location of result pages and how can we change it?

0 Answers  






What are the life cycle methods of interceptor?

0 Answers  


How can forward action be used to restrict a strut application to mvc?

0 Answers  


What applications use apache struts?

0 Answers  


what are the actions in struts?

10 Answers   Nihilent, Wipro,


Which interceptor is responsible for file upload support?

0 Answers  


why do we typecast ActionForm into out plain java bean class in Action class?

5 Answers  


In which order struts framework searches for a message bundle?

0 Answers  


Categories