原帖由 阿水 於 2008-11-8 18:20 發表 
what is their major difference and which one is easier to get started
Struts is a controller oriented framework, that singletons of actions are defined to handle HTTP request. Each of the actons accepts the request from parameter of "execute" method, process it and generate HTTP response.
On the other hand, Struts 2 is an action oriented framework. Processing logic is handled by per-request "action" objects. Controller is not explicitly defined.
For new web developer controller oriented approach is more easy to understand, and it work well for fairly complicated system. Other hand, action oriented framework make application code nearer to the application object model, which is good from analysis point of view. |