ActionMapping的getInputForward()方法,是返回一个什么来的?写具体点,最好讲给列子。因DC还没好,环境也没起来所以测试不了,求解释。
解决方案 »
- JDBC:DriverManager.registerDriver(new com.mysql.jdbc.Driver()););
- 为什么结果都是false,求解!!!
- JAVA EE 和 glassfish 的关系
- 高分悬赏jxl设置excel背景图片
- 发现学EJB的人太少,特发一贴征集EJB学习同志共勉,加我QQ:34495714!
- hibernate在SQL SERVER 2000找不到表
- 怎样写一个监控时间的程序啊?,详内!
- 怎样才能请空jTable中的数据?
- struts入门级问题
- 关于XML的控制格式问题
- 积分是浮云 毕业设计 web聊天室 怎样判断用户已离线 session过期时ActionContext为空
- Class.forName("com.mysql.jdbc.Driver"); 声明mysql驱动找不到
The input forward for this action mapping.
Since:
Struts 1.1http://www.tiansky.net/DBbbs/viewthread.jsp?tid=236
获取action当中input中的值对应的地址
<action path="/test"
type="org.apache.struts.webapp.example.TestAction"
name="testForm"
scope="request"
input="testInput">
<forward name="testInput" path="/testInput.jsp"/>
</action>
getInputForward();获取的就是action中input里的testinput,通过testinput又找到forward里这个别名对应的path/testInput.jsp