struts2 始终找不到方法报404错误。求解决?

2025-05-21 02:26:21
推荐回答(2个)
回答1:

1、struts2相关配置在web.xml中配置了没有?
2、配置没有指定方法,TestAction有没有excute()方法?

回答2:

你没有指定method ,action里面有没有execute方法?