看板 java 關於我們 聯絡資訊
※ 引述《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