Java中的Struts2报错,There is no Action mapped for namespace / and action name fileUploadAct 20
ThereisnoActionmappedfornamespace[/legalOpProvide/placeonfileManage]andactionname[Leg...
There is no Action mapped for namespace [/legalOpProvide/placeonfileManage] and action name [LegalOpExportAction] associated with context path [/tymqhlaw].
展开
1个回答
展开全部
struts.xml里面 找不到对应的action 检查下action配置的name和这个action所在package的namespace属性,一般访问的路径是namespace+action.name+".action"或者.do
追答
namespace里面是/legalOpProvide/placeonfileManage,那么对应的访问地址不就是:/legalOpProvide/placeonfileManage/LegalOpExportAction.action么 ?你试试,还有就是action直接复制过去,别写错了
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询