Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of The Java Performance Companion this week in the Performance 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