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 |
Why do we need struts?
Can we have multiple struts config files ?
collection framework hirarchy?
What is MVC?
How can we write our own interceptor and map it for action?
Describe validate() and reset() methods.
what is the main reason for developing struts? what is advantages over Basic MVC architecture based JAVA Application?
we have two applications A1 & A2 both are accesing the same databse table employee at the same time how we will manage this so that both application can get the correct no of emloyee while A1 is inserting a employee at the same time while other applicatuion is getting the empployee list.
What is the purpose of redirect result type?
How an actionform bean is created?
What is Request Dispatcher and What is reuest Processor??
How can duplicate form submission be handled in struts 2?