3

我有这个动作:

<action path="/view.stif.loader.bin.mapping" 
type="com.st.mas.wmr.action.StifBinConversionAction" parameter="viewLoaderMapping" 
name="stifConvForm" scope="request" validate="false" 
input=".editConfig">
<forward name="success" path=".viewStifLoadBinMapping"/>
</action>

这个操作曾经有效,但现在无效,我不知道为什么。我明白了HTTP Status 500 - No action instance for path /view.stif.loader.bin.mapping could be created。Action 类仍然存在,并且没有对struts-config.xml.

还有哪些其他原因可能导致 HTTP 500?

我正在使用带有 Tiles 的 Struts 1。

谢谢。

4

1 回答 1

2

Http 500 表示服务器端出现问题。

在您的情况下,您可以尝试以下操作 1. 使用正确的包路径验证操作类是否存在。这将在适当的容器中进行检查(即 tomcat、weblogic、jboss 等) 2. 通过将当前操作替换为已经工作的操作来检查其是否正常工作。如果是,那么操作有问题 3. 尝试 clean build 以获取新编译的类文件。有时,这可以解决问题

于 2011-05-25T09:32:20.693 回答