Struts 1.1 vs Struts 1.2
Review the differences between Struts 1.1 and Struts 1.2 in a structured comparison table, then continue with related interview questions, quizzes, and similar topic comparisons.
Difference Between
Struts 1.1 vs Struts 1.2 - A key comparison and difference of the topics or subjects that will help you understand which is best for your use case. Check out to compare Struts 1.2 and Struts 1.1 as very common job interview questions.
Difference between Struts 1.1 and Struts 1.2
Struts 1.1 vs Struts 1.2 - A key comparison and difference of the topics or subjects that will help you understand which is best for your use case. Check out to compare Struts 1.2 and Struts 1.1 as very common job interview questions.
|
Struts 1.1
|
Struts 1.2
|
|---|---|
| In Struts 1.1, ActionError were not deprecated. | In Struts 1.2, ActionError were deprecated, needs to use ActionErrors or ActionMessages instead of ActionError. public ActionErrors validate(ActionMapping mapping,HttpServletRequest request) { ActionErrors errors = new ActionErrors(); if((userName == null) || (userName.length() < 1)) { errors.add("username", new ActionMessage("error.username.required")); } } |
| MappingDispatchAction was not available here. | Introducing to MappingDispatchAction (A new standard action that dispatches to a method name by having different actions in the action Mappings for each method. E.g you can do Add, Edit, Delete in same mapping.) |
| It is not available in this version. | 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. |
| validWhen is not available in validation framework in this version. | Validation framework was fine tuned , including additon of new validation rule 'validWhen' |
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Related differences
Explore similar comparisons connected to Struts 1.1 and Struts 1.2 for broader context and interview preparation.
Get differences from below
Browse all available topic comparisons below, or use the search field above to narrow the list instantly.