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 is the use DynaActionForm?
What is struts and springs in java?
What is Struts Frame Work Architecture(With Diagram) ?
explain the Struts flow?
What are the conditions for actionform to work correctly?
Can we use struts and spring together?
Explain the necessity of empty tag?
How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?
How Struts internally works? For Example if we type the URL "/login.do" how the process goes internaly? How the struts-config.xml loaded?
Why is it called struts?
How to create validations?what are struts validation components?
struts 1.3 features?