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
Answer Posted / 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 View All Answers
What is the purpose of execute() method?
How can duplicate form submission be handled in struts 2?
What are the cons of struts 2?
What is struts actionmapping?
What is front controller in struts2?
What is the purpose of @action annotation?
Do I have to credit struts on my own website?
What do you know about validation plugin ?
What inbuilt themes are provided by struts2?
What is the purpose of '@keyproperty'?
Are struts thread safe?
What is Custom Type Converter in Struts2?
What do you mean by action errors and what are the results they force?
List some struts tag libraries?
What is the use of jsonvalidation?