Consultancy Services jobs Etisalat CEO ZANTEL
etisalat

Custom Search
Share/Save/Bookmark Subscribe

What is the difference between Struts 1.0 and Struts 1.1

Etisalat

DEVELOPER

bangalore

india

BLOGGER

SEX






The new features added to Struts 1.1 are
1. RequestProcessor class
2. Method perform() replaced by execute() in Struts base Action Class
3. Changes to web.xml and struts-config.xml
4.Declarative exception handling
5.Dynamic ActionForms
6.Plug-ins
7.Multiple Application Modules
8.Nested Tags
9.The Struts Validator
10.Change to the ORO package
11.Change to Commons logging
12.Removal of Admin actions
13. Deprecation of the GenericDataSource

Struts 1.1 has method execute in action class where as Struts 1.0 contains performexecute() method

new concepts in struts1.1 are
1)changes to the web.xml file as well as Struts-config.xml
2)performExcecute() is replaced by execute() method
3)plug-ins added
4)RequestProcessor class..etc

The main differences are

1. In Action class Perform() method was replaced by execute() method.
2. DynaActionForms are added.
3. Tiles Concept is introduced.
4. We can write our own Controller by Inheriting RequestProcessor class. i.e., nothing but we can override the process() method of the RequestProcessor class.
Apart from these some updates in web.xml and Struts-Config.xml.
As per my point of view, from struts 1.1 it is recommended to use ActionMessages instead of ActionErrors , ActionMessage instead of ActionError and SaveMessages in place of saveErrors

Differences between Struts 1.1 and 1.2:-

1) Advised for replacement of ActionErrors with ActionMessages
2) org.apache.struts.Action statics: Use org.apache.struts.Global statics instead
3) Many utility methods previously found in org.apache.struts.utils.RequestUtils have been moved to org.apache.struts.taglibs.TagUtils or org.apache.struts.utils.ModuleUtils.
4) Introduction of MappingDispatchAction : A new standard Action that dispatches to a method named by the ActionMapping parameter.
5) Introduction of DigestingPlugIn - A new standard PlugIn that helps you create your own object graph in application scope. This is handy way to create business objects for Actions to call.
6) Addition of Action attributes - An Action attribute has been added to the html img tag, to match what's available on the html link tag now.
7) Additon of Module attribute - A new "module" attribute is available on the forward element as well as several of the core tags. This attribute allows you to specify another module by name (or "prefix") to create direct links between modules. The new module attribute is preferred to the contextRelative attribute and can often be used in lieu of a "SwitchAction".

The main differences are

1. In Action class Perform() method was replaced by execute() method.
2. DynaActionForms are added.
3. Tiles Concept is introduced.
4. We can write our own Controller by Inheriting RequestProcessor class. i.e., nothing but we can override the process() method of the RequestProcessor class.
-------------------------------------------------------------------------------------------------------

action
org.apache.struts.action.ActionServlet

config
/WEB-INF/struts-config.xml,/WEB-INF/struts-config-wfm.xml,/WEB-INF/struts-config-soh.xml,/WEB-INF/struts-config-pay.xml

0 comments

free counters
Your Ad Here

Cross Rates Powered by Forex Pros - The Forex Trading Portal.
java.sun.com jobs etisalat actress hot sex
Bangalore, 04 March 2008, UAE Telecoms Gaint founds ‘technologia’ in Bangalore to create continuous stream of new innovations. Affordable Website Design
Free Search Engine Submission
Free Search Engine Submission
Submit Your Site To The Web's Top 50 Search Engines for Free! BigDirectory.org - free url submission, online website directory National Directory Free Web Directory Submission - Dotster Directory Link Popularity Building
We offers advanced Link Popularity Services for small to large static, dynamic and eCommerce websites.
http://www.links-builder.com
India Search Engine and Web Directory Superblog Directory
HOT SEX,NUDE TECHNOLOGIAWORLD SQL JAVA SUN BEA IBM HCL SATYAM TCS CHIRANJEEVI CHIRU PAWAN HANSIKA SANGAVI SNEHA TAMIL SEX MALLU MASALA