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
Can explain about the validations and in your project where did u used the validations?
What is form bean in struts?
What are the two types of validations supported by validator framework?
What is the use of struts config xml file?
Explain struts.devmode?
What is the use of resourcebundle.properties file in Struts Validation framework?
What is xml based validation in struts2?
Which configuration file is used for storing jsp configuration information in struts?
What are the sections into which a strut configuration file can be divided?
What is interceptor? And life cycle methods of interceptor?
How you will enable front-end validation based on the xml in validation.xml?
How the exceptions are handled in struts?
What is the use of forwardaction?
How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?
What is purpose of execandwait interceptor?