ActionMapping的getInputForward()方法,是返回一个什么来的?写具体点,最好讲给列子。因DC还没好,环境也没起来所以测试不了,求解释。
解决方案 »
- 怎么用hql根据两个属性做distinct
- session问题
- hibernate不能自动生成数据库求解
- 关于两个EntityManager问题
- 请问一个hql group by 查询的问题?
- structs中的页面跳转
- struts中插入和修改用同一个action还是不同的action?
- java 中提高方法响应速度
- 编码转换的问题,sqlserver2000,weblogic8
- (高分求教)学习J2EE前所应具有的知识.
- 积分是浮云 毕业设计 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