错误:
No result defined for action com.harbor.struts.action.console.CommandTreeAction and result input - action - file:/D:/tomcat-6.0.18/webapps/ROOT/WEB-INF/classes/struts-console.xml:19:28
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:350)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)
com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:150)
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48)
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept --------------------------------------------------------------------------------You are seeing this page because development mode is enabled. Development mode, or devMode, enables extra debugging behaviors and reports to assist developers. To disable this mode, set: struts.devMode=falsein your WEB-INF/classes/struts.properties file. ----------------------- struts配置文件:
<package name="concole" extends="struts-webcfg" namespace="/console">
<action name="showMenu"
class="com.harbor.struts.action.console.CommandTreeAction"
method="displayTopMenu">
<result name="page">/console/${path}.jsp</result>
</action>
--------------------页面使用:
<frame src="console/showMenu.do?path=top" name="topFrame" scrolling="no" noresize="noresize" id="topFrame" />
No result defined for action com.harbor.struts.action.console.CommandTreeAction and result input - action - file:/D:/tomcat-6.0.18/webapps/ROOT/WEB-INF/classes/struts-console.xml:19:28
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:350)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)
com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:150)
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48)
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept --------------------------------------------------------------------------------You are seeing this page because development mode is enabled. Development mode, or devMode, enables extra debugging behaviors and reports to assist developers. To disable this mode, set: struts.devMode=falsein your WEB-INF/classes/struts.properties file. ----------------------- struts配置文件:
<package name="concole" extends="struts-webcfg" namespace="/console">
<action name="showMenu"
class="com.harbor.struts.action.console.CommandTreeAction"
method="displayTopMenu">
<result name="page">/console/${path}.jsp</result>
</action>
--------------------页面使用:
<frame src="console/showMenu.do?path=top" name="topFrame" scrolling="no" noresize="noresize" id="topFrame" />
错误啦,哪段代码是19行啊
这里配置的有问题。