what's diff between struts 1.1 & 1.2

Answers were Sorted based on User's Feedback



what's diff between struts 1.1 & 1.2..

Answer / imtiyaz

The three differences I see as most significant are:

* Deprecation of ActionError class. (Use ActionMessage
instead)
* Ability to use wildcard characters in action mappings
* Improvments in the validation framework, including the
"validwhen" rule

Is This Answer Correct ?    26 Yes 6 No

what's diff between struts 1.1 & 1.2..

Answer / prabhakar

Struts 1.2 features:
====================

1) In Struts 1.2,ActionErrors were deprecated, needs to use
ActionMessages instead of ActionErrors.

2) Introducing to MappingDispatchAction (A new standard
action that dispatches to a method name by having
different actions in the action Mappings for each method)

3) Attribute 'module' has been introduced in the forward tag
of action.Which will be used to link to another module when
forward happens.Can be used when we work with SwithAction.

4) Validation framework was fine tuned , including additon
of new validation rule 'validWhen'


- Prabhakar

Is This Answer Correct ?    21 Yes 2 No

what's diff between struts 1.1 & 1.2..

Answer / vasu

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

Is This Answer Correct ?    13 Yes 20 No

Post New Answer

More Core Java Interview Questions

What is the difference between exception and error in java?

0 Answers  


What environment variables are required to be set on a machine in order to run Java programs?

0 Answers   Tech Mahindra,


how to write a program for chat function using core java

1 Answers   Satyam,


what is ABSTRACTION and what are using in real time project?

1 Answers   iGate,


What are the Object and Class that classes used for?

3 Answers   Mphasis,






Name the packages in JDK?

2 Answers  


Why is sizeof not a function?

0 Answers  


When does an object becomes eligible for garbage collection in java?

0 Answers  


How to find the largest value from the given array.

0 Answers  


What is the functionality of Webserver?

2 Answers  


What is a nullable field?

0 Answers  


Describe inheritance as applied to java?

4 Answers  


Categories