struts2.5 关于Method ** for ** is not allowed!的处理

最近学校开了这门课,做作业时遇到了这个问题,在网上看到了相关解决方案,在博客记录一下。

打开src目录的struts.xml

<global-allowed-methods>里填写对应方法名

 

posted @ 2019-09-20 18:59  mool  阅读(1009)  评论(0)    收藏  举报