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
Why we use struts in java?
What are different ways to create Action classes in Struts2?
Can we have multiple struts config files ?
What is difference between interceptors and filters?
How interceptor works in struts 2?
Briefly tell the two kinds of form beans.
What is execute method in struts?
Explain struts.devmode?
What is the purpose of plug-in tag in struct-config.xml?
What is jakarta struts framework?
What do you mean by struts.dev mode?
Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?
What are the Core classes of Struts Framework?
How do you create message resource?
What are different Struts2 tags? How can we use them?