嗨,我收到“迁移后不支持请求方法的帖子 从Jboss 6.4 EAP到jboss 7.2 EAP的Web应用程序。
“ method ='POST'style =” width:250px; 左边距:22%;“>@RequestMapping(value =“ / login”,method = RequestMethod.GET) public String login(ModelMap模型){
return "login"; } <mvc:resources location="/static/" mapping="/static/**"/> <security:http pattern="/static/**" security="none"></security:http> <security:http use-expressions="true"> <security:intercept-url pattern="/login*" access="isAnonymous()" /> <security:intercept-url pattern="/**" access="hasAnyRole('${role.updater}','${role.dm}','${role.nsAdmin}')"
/> ->
<security:headers> <security:xss-protection/> <security:cache-control/> <security:content-type-options /> <security:hsts /> <security:frame-options /> </security:headers> <security:csrf/> </security:http>