这是struts-config.xml:<?xml version="1.0" encoding="gb2312"?><!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
"http://struts.apache.org/dtds/struts-config_1_2.dtd">
<struts-config>
<form-beans>
<form-bean name="RegistForm" type="UserRegistForm" />
</form-beans>
<golbal-exceptions>
<exception key="reg.error.unknown" type="java.lang.Exception" path="/error.html"/>
</golbal-exceptions>
<golbal-forwards>
<forward name="index" path="/index.html"/>
</golbal-forwards>
<action-mappings>
<action path="/Regist" type="RegistAction" name="RegistForm" scope="request" validate="false" input="/Regist.jsp" />
<forward name="SUCCESS" path="/Success.html"/>
<forward name="FAIL" path="/Fail.html" />
</action-mappings>
<message-resources parameter="Registraion" />
</struts-config>
"-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
"http://struts.apache.org/dtds/struts-config_1_2.dtd">
<struts-config>
<form-beans>
<form-bean name="RegistForm" type="UserRegistForm" />
</form-beans>
<golbal-exceptions>
<exception key="reg.error.unknown" type="java.lang.Exception" path="/error.html"/>
</golbal-exceptions>
<golbal-forwards>
<forward name="index" path="/index.html"/>
</golbal-forwards>
<action-mappings>
<action path="/Regist" type="RegistAction" name="RegistForm" scope="request" validate="false" input="/Regist.jsp" />
<forward name="SUCCESS" path="/Success.html"/>
<forward name="FAIL" path="/Fail.html" />
</action-mappings>
<message-resources parameter="Registraion" />
</struts-config>
解决方案 »
- HTML 转 PDF时 输入框 多选框,单选框怎么显示在PDF格式中,用的是IText
- 当HttpURLConnection.connect超时后怎么判断是超时导致的IOException??
- web开发页面reload问题
- 请教java串口控制的简单问题
- 高分寻找Pro Spring的英文版书籍+散分
- 采用联合主键的对象间的一对多(多对一)联系
- 请教关于倒计时问题
- 在线等,Struts 的Commens fileupload 的问题!!!!
- ★★★Java实现远程调用用哪种方式比较好?高手请分析之
- 该怎么做学校的系统
- 请教一下hibernate生oracle主键的问题,使用的插件是MYECLIPSE
- acegi验证登录后, 不能跳转到指定页面的错误
\WEB-INF\classes\RegistAction.class
\WEB-INF\classes\UserRegistForm.class
文件都没有错,
但是点 提交 按钮的时候,
就报以下错误:
--------------------------------------------------------------------------------Apache Tomcat/6.0.10