怎么用ForwardAction把请求中的数据一起发到页面去,比如说:<html:form action="fwdaction.do" styleId="form1">
姓名:<html:text property="name" styleId="name" />
<密码:<html:text property="pwd" styleId="pwd"/>
<html:submit value="提交"/><action path="/fwdaction" parameter="/MyJsp.jsp" attribute="userForm"
type="org.apache.struts.actions.ForwardAction" scope="request" name="userForm"
validate="false"></action>怎么才可以在MyJsp.jsp页面得到表单的数据呢 还有就是那个attribute属性是用来设置什么的呢
姓名:<html:text property="name" styleId="name" />
<密码:<html:text property="pwd" styleId="pwd"/>
<html:submit value="提交"/><action path="/fwdaction" parameter="/MyJsp.jsp" attribute="userForm"
type="org.apache.struts.actions.ForwardAction" scope="request" name="userForm"
validate="false"></action>怎么才可以在MyJsp.jsp页面得到表单的数据呢 还有就是那个attribute属性是用来设置什么的呢
解决方案 »
- 新手问题
- struts1在eclipse-javaee中配置的诡异问题,一报错JAR包就为空
- 急急急...
- 求解:一道Java的课后作业题
- com.microsoft.sqlserver.jdbc.SQLServerException:
- struts2中对应html <input type="button">的是<s:submit>吗?怎样使它不可用呢?在线等
- 简单的问题请教~~
- 空指针问题,求解?
- 用了<jsp:include></jsp:include>标签时发生异常,各位请帮忙看看!
- findByPrimaryKey(userid)的一个问题,请大家帮忙!!!!!!!!!!1
- 大家用什么JDBC连接池?
- 明天面试 散分!!!!!!
<html:form action="fwdaction.do" styleId="form1">
姓名:<html:text property="name" styleId="name" />
<密码:<html:text property="pwd" styleId="pwd"/>
<html:submit value="提交"/>你采用struts的 js验证机制 然后看源码就知道了!