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
Is Struts Framework part of J2EE?
What is the purpose of @stringlengthfieldvalidator annotation?
Why use spring, if you are already using struts?
Why was reload removed from struts (since 1.1)?
How to get data from the velocity page in a action class?
Explain how can we upload files in struts2 application?
What's mvc pattern ?
Can you explain aware interfaces in struts2?
What are the struts2 configuration properties that control file uploading process?
What does i18n interceptor?
Which model components are supported by Struts?
while working struts in intellij 7.0error unable to initialize tld location cache: zip file is closed is displayed anybdy can answer me immdialy .ungert
Who makes the struts?
What do you know about validation plugin ?
What is actioninvocation in struts2?