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 are inner class and anonymous class?
Explain the difference between dispatchaction and lookupdispatchaction in struts?
What is controller in struts ?
What is the default location of result pages and how can we change it?
What is the purpose of @emailvalidator?
How struts2 supports internationalization?
What is struts.devmode?
What is lookupdispatchaction?
Explain about tiles?
How exceptions are handled in struts application?
What is action class?
What are the two different types of validations that the validator framework supports?
How is declarative handling of exceptions done in struts ?
How can forward action be used to restrict a strut application to mvc?
What is actionmapping?