作者qrtt1 (愚人)
站内java
标题Re: [问题] Struts
时间Mon Oct 22 09:28:02 2007
※ 引述《QWSDC (闇)》之铭言:
: 想请问一下struts 1跟struts 2会不会有相容性的问题
: 因为原先架设的是用struts 1
: 现在要新增跟修改一些东西
: 不知道还是用1好还是2的功能比较好
: 如果用2这样跟之前用1写的会有问题吗?
http://struts.apache.org/roadmap.html#migrate_s1
Is it difficult to migrate from Struts 1 to Struts 2?
We do not recommend migrating stable Struts 1 applications to Struts 2,
unless significant new development is planned. Struts 1 will be supported for
some time to come, and there is no reason to rework code that already works.
If new features are being added to an existing application, the Struts 1
and Struts 2 codebases can coexist in the same application. Struts 1 actions
can handle the *.dos and Struts 2 can handle the *.actions. Once a team is
committed to Struts 2, one way to stage a migration would be to migrate one
action at a time (until there's nothing left to do).
For help with migrations, see the Struts 2 Migration Guide.
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.231.48.165