File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes difference between Struts1.1&1.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "difference between Struts1.1&1.2" Watch "difference between Struts1.1&1.2" New topic

difference between Struts1.1&1.2

Robin Ranga

Joined: May 29, 2006
Posts: 25
difference between Struts1.1&1.2 which is the latest one. What is the major difference in coding part
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
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 ]

Consultant, Sima Solutions
Robin Ranga

Joined: May 29, 2006
Posts: 25
can anybody give more ideas
I agree. Here's the link:
subject: difference between Struts1.1&1.2
It's not a secret anymore!