struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Husted" <>
Subject Re: Struts 1 or Struts 2
Date Thu, 10 Jan 2008 13:01:18 GMT
On Jan 9, 2008 11:31 PM, aum strut <> wrote:
> is there much diffreence between Struts1 and Struts2?

The implementation details are different (in a good way!), but both
use the same architectural paradigms.

Struts 1 uses an ActionForm for input value and a singleton Action to
process the values. Struts 2 uses an requested-based Action for both.
Struts 1 can only use string-input. Struts 2 can use native types and
POJO classes. Struts 1 uses a chain of command to process requests
(one per application). Struts 2 uses sets of interceptors that can be
changed for individual actions. And so forth. But, in most cases it's
a one:one evolution, rather than a totally different way of doing

People who try Struts 2 after using Struts 1, tend to find it to be a
welcome change.

If someone were to apply for a S1 project, S2 experience would
probably be a plus, since most everyone would at least be thinking
about migrating someday.

HTH, Ted

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message