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 / 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 |
What is the purpose of @conversionerrorfieldvalidator annotation?
what happen if the private constructor is written in a claass
What is the purpose of @action annotation?
Is it possible to create mulitple instance of one Action Class in struts?
What is purpose of execandwait interceptor?
How to add ms-word file in struts at the same time how to add images
What is the purpose of @requiredstringvalidator?
What types of validations are available in xml based validation in struts2?
What is the use of reset method of ActionForm class?
How is the Struts framworl related to MVC2?
What is the purpose of @doublerangefieldvalidator annotation?
Which model components are supported by Struts?