GeekInterview.com
Series: Subject: Topic:
Question: 109 of 110

What is the difference between Struts 1.0 and Struts 1.1

Asked by: Interview Candidate | Asked on: Aug 6th, 2005
Showing Answers 1 - 10 of 10 Answers
Anju Molugu

Answered On : 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

  
Login to rate this answer.
Praveen

Answered On : Aug 6th, 2005

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

  
Login to rate this answer.
vamshidhar gade

Answered On : 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

  
Login to rate this answer.
guptach

Answered On : Sep 23rd, 2005

View all answers by guptach

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.

Yes  2 Users have rated as useful.
  
Login to rate this answer.
hema

Answered On : 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

  
Login to rate this answer.
Chaithanya

Answered On : 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

  
Login to rate this answer.
M.V.GURU BRAHMAM

Answered On : 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".

  
Login to rate this answer.
hariprasad36

Answered On : Apr 9th, 2008

View all answers by hariprasad36

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.

  
Login to rate this answer.
raj.ntrj

Answered On : Nov 11th, 2008

View all answers by raj.ntrj

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

  
Login to rate this answer.
Prabhakar122

Answered On : Nov 3rd, 2010

View all answers by Prabhakar122

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

  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.