Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

difference between Struts1.1&1.2

 
Robin Ranga
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
difference between Struts1.1&1.2 which is the latest one. What is the major difference in coding part
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd say the two major differences are:

1-In version 1.2, you use the ActionMessages and ActionMessage classes to generate error messages rather than ActionErrors and ActionError.

2-In version 1.2, you can use wildcards in your action mappings. See the heading "Wildcards in Action Mappings" in this link for more information on this topic.

3-Version 1.2 adds the "validWhen" validation rule if you're using the Struts Validation Framework.
[ July 06, 2006: Message edited by: Merrill Higginson ]
 
Robin Ranga
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anybody give more ideas
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic