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
Which design pattern is implemented by Struts2 interceptors?
What’s the difference between struts and turbine? What’s the difference between struts and espresso?
What are the differences between http direct and http indirect?
What are the aware interfaces in struts2?
What is the purpose of @after annotation?
What is the need of struts?
What kind of mvc is struts 2?
What is http forward?
Which file is used by controller to get mapping information for request routing?
What is struts?
Which configuration files are used in struts?
What are inner class and anonymous class?
What is the procedure of operation of a form tag?
Whats the difference between the default namespace and the root namespace?
Why was reload removed from struts (since 1.1)?