我觉得是你的send.jsp中的form中的action在struts-config中没有对应
解决方案 »
- document. Alt+"/"就报错
- 现在开发javaweb使用哪个版本的eclipse和myeclipse
- 关于附件的存放问题
- 帮忙看看该怎么改~~~
- tomcat5.0.28 数据源 org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' 错
- hibernate实现问题求助
- 买那本J2EE书好
- 这是哪些包起冲突呢?
- applet程序嵌入HTML文件有问题!!!!!!
- mybatis自动生成的代码怎么添加多表关联操作呀??
- org.apache.xerces.parsers 在哪下载???
- 如何实现这样的单据打印?谢谢高手们帮忙看看。
<action input="/error.jsp" name="submitForm" path="/submit"//这个地方
scope="request" type="struts.SubmitAction" validate="true">
<forward name="success" path="/display.jsp" />
<forward name="failure" path="/failure.jsp" />
</action>
</action-mappings>
看看struts-config里的path是否设成/send
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<form-beans>
<form-bean name="Send_Form" type="com.ezcross.cmhk.oa.form.doc.Send_Form" />
<form-bean name="HtmlFileForm" type="com.ezcross.cmhk.oa.form.HtmlFileForm" />
</form-beans> <global-exceptions />
<global-forwards />
<action-mappings >
<action
input="/send.jsp"
name="Send_Form"
path="/send"
scope="request"
type="com.ezcross.cmhk.oa.action.doc.Send_Action"
validate="false">
<forward name="sendform" path="/send.jsp" redirect="false"/>
</action> </action-mappings>
<controller />
</struts-config>