One simple and general way is by using session Object.:Setting scope as session can be done with <action > tags in Struts-Config.xml :We have different levels of storage objects(scopes) like:we define scope inside action tag in struts.config xml if session is scope than the request processor set data to session scope.but always prefer request scope for good programming. : Class.forName("oracle.jdbc.driver.OracleDriver");
Category:Struts Interview Questions
No comments:
Post a Comment