What is the difference between Struts 1.0 and Struts 1.1

Showing Answers 1 - 16 of 16 Answers

Anju Molugu

  • Mar 14th, 2005
 

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.xml4.Declarative exception handling5.Dynamic ActionForms6.Plug-ins7.Multiple Application Modules8.Nested Tags9.The Struts Validator10.Change to the ORO package11.Change to Commons logging12.Removal of Admin actions13. Deprecation of the GenericDataSource

  Was this answer useful?  Yes

Praveen

  • Aug 6th, 2005
 

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

  Was this answer useful?  Yes

vamshidhar gade

  • Sep 12th, 2005
 

Hi,new concepts in struts1.1 are1)changes to the web.xml file as well as Struts-config.xml2)performExcecute() is replaced by execute() method3)plug-ins added4)RequestProcessor class..etc

  Was this answer useful?  Yes

guptach

  • Sep 23rd, 2005
 

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.

hema

  • May 1st, 2006
 

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 inplace of saveErrors

  Was this answer useful?  Yes

Chaithanya

  • May 29th, 2006
 

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.xml4.Declarative exception handling5.Dynamic ActionForms6.Plug-ins7.Multiple Application Modules8.Nested Tags9.The Struts Validator10.Change to the ORO package11.Change to Commons logging12.Removal of Admin actions13. Deprecation of the GenericDataSource

  Was this answer useful?  Yes

M.V.GURU BRAHMAM

  • Oct 5th, 2006
 

Differences between Struts 1.1 and 1.2:-

1) Adviced 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 preferered to the contextRelative attribute and can often be used in lieu of a "SwitchAction".

  Was this answer useful?  Yes

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.

  Was this answer useful?  Yes

raj.ntrj

  • Nov 11th, 2008
 

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 ActionForms6.Plug-ins
7.Multiple Application Modules
8.The Struts Validator
9. Deprecation of the GenericDataSource

  Was this answer useful?  Yes

Struts 1.1 new features are:
====================

1) Method perform() replaced by execute() in Struts base Action Class
2) Declarative exception handling
3) Dynamic ActionForms
4) The Struts Validator
5) Deprecation of the GenericDataSource
6) Tiles Concept
7) Nested Tags

                        - Prabhakar

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions