为什么选择 Struts 2 比选择 Struts 1 更好?

Why is it better to choose Struts 2 than Struts 1?

1) Struts 2 优于 Struts 1 的主要优势是什么? Struts 1 有哪些优点?

2) 在 Struts 2 中使用过滤器调度程序有什么用?

3) 在 servlet 上使用过滤器调度程序好吗(Struts 1 使用 servlet)?

因为我是 Struts 的新手,谁能对这些问题给出详细的描述?

如果您是新手且未开始 - 不要从 struts 1.

开始

Apache 在 2013 年发布 End of Life 消息。

The Apache Struts Project Team would like to inform you that the Struts 1.x web framework has reached its end of life and is no longer officially supported.

对于其他问题,如果仍然相关,请 post 不同的问题。

您可以找到 Pros and Cons comparing Struts 1 and Struts 2.

To add to these features I'd say that Struts 2 not only bigger but heavier than Struts 1. Struts 2 in the default configuration intercepts and runs a lot of stuff to simplify the development process, write less code, use recent technologies, but the cost for it is a complexity of framework. You will have more time to learn a framework itself to be able to modify it to suit your needs.