我估计是配置文件出错了,原来有一个例子是好用的,
我将XML文件改了就不好用了。
我将XML文件改了就不好用了。
解决方案 »
- 报名表或准考证网上打印时如何实现 另存为PDF文件
- 菜鸟问题 大虾帮忙下 在线等 急!!!!
- 主流开发工具是啥
- 请问各位 用get方式传递参数的时候 可以传递数组么?
- yale CAS 过滤器配置问题
- 如何自動建立主機在tomcat中
- 数据库操作问题
- 我把Apache和Tomcat整和以后,可以访问JSP文件,可是却不能访问html和php文件了,为什么?
- struts2或者js获取本地文件路径不对。
- myeclipse中如何把三个项目合并为一个项目,(三个项目独立存在的,互相不干扰,现在想把它合并为一个项目发布在Tomcat上)
- Serializable 问题?
- 各位大虾:JSP页面报错,但出现一堆错误信息有没有办法找到错误行的
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!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="userForm" type="test.UserForm"/>
</form-beans>
<global-forwards>
<forward name="failed" path="/failed.cool"/>
<forward name="regist" path="/regist.jsp"/>
</global-forwards>
<action-mappings>
<action path="/regist" type="test.RegistAction"
name="userForm" scope="request" input="/index.jsp" />
<action path="/overview" forward="/hello.jsp"/>
<action path="/failed" forward="/wuwu.jsp" />
</action-mappings>
</struts-config>