Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/326.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 添加多个Struts操作时面临的问题_Java_Google App Engine_Struts2_Xml Configuration_Action Mapping - Fatal编程技术网

Java 添加多个Struts操作时面临的问题

Java 添加多个Struts操作时面临的问题,java,google-app-engine,struts2,xml-configuration,action-mapping,Java,Google App Engine,Struts2,Xml Configuration,Action Mapping,我在为json类型的结果显示struts操作时遇到了问题。类似的还有LoginJson.action,可以很好地工作。我不明白哪里出了错。我看到的错误是 Error 404 There is no Action mapped for namespace [/] and action name [RegisterJson] associated with context path []. 这是我的密码: ! 您已使用名称RegsiterJson配置了操作,但在URL中输入了RegisterJso

我在为
json
类型的结果显示struts操作时遇到了问题。类似的还有
LoginJson.action
,可以很好地工作。我不明白哪里出了错。我看到的错误是

Error 404 There is no Action mapped for namespace [/] and action name [RegisterJson] associated with context path [].
这是我的密码:


!

您已使用名称
RegsiterJson
配置了操作,但在URL中输入了
RegisterJson
,因此它看起来像是输入错误,或者您可以重定向到该操作

<action name="RegisterJson">
  <result type="redirectAction">RegsiterJson</result>
</action> 

雷吉斯特森

为什么输入错误的URL?对不起!我不明白你的意思。你能更正网址吗@罗马人