【发布时间】:2010-10-13 19:34:03
【问题描述】:
我的项目将 struts 的版本从 struts-2.1.8.1 更改为 struts-2.2.1。 我们不使用后缀“.action”来命名,迁移后出现。对于旧版本的 html 代码如下所示:
<form id="Login" name="Login" action="/fm2/Login" method="post">
但新的 struts 呈现相同的形式:
<form id="Login" name="Login" action="/fm2/Login.action" method="post"
因此添加了 .action 的区别。新版本有什么问题?
【问题讨论】:
标签: struts2