请问struts菜问题.....(2) 你看一下ActioneditRegistration.java文件,它的ActionForward是不是就是指向registration.jsp 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 editRegistration.java 中有着么一句form = new RegistrationForm();但表单到底怎么产生的,求救 具体看看struts-config.xml文件中的配置,看看这个 <action path="/editRegistration" type="com.editRegistrationAction" name="RegistrationForm"> <forward name="success" path="/registration.jsp"/> </action>如果是这么配置的,肯定会出现上面的情况 <action path="/editRegistration" type="org.apache.struts.webapp.example.EditRegistrationAction" attribute="registrationForm" scope="request" validate="false"> <forward name="success" path="/registration.jsp"/> </action>看example 中 struts-config.xml文件中的一段。这是他 的action bean 然后在 EditRegistrationAction 中 用 return (mapping.findForward("success")); 导航到 registration.jsp 页面~~ extjs 使用SimpleJdbcTemplate如何级联查询 企业邮件群发系统 关于JavaScript的两个问题 一个打印的问题,大家进来看看! 循环往表中插入数据,如何进行错误处理??? 大家帮我看看这段jsp代码,为什么总是降序呢?我要它们能够互相转换 jsp调类中的方法用什么限定词? 请问这两种访问数据库的方法为什么不同呢?!(问题可能有点幼稚!) 请帮助! 错误在哪里? 在页面提交之后下一个页面出现之前,如何在这段时间里显示一个“操作正在进行,请稍等”的提示页面?
form = new RegistrationForm();
但表单到底怎么产生的,求救
<action path="/editRegistration"
type="com.editRegistrationAction"
name="RegistrationForm">
<forward name="success" path="/registration.jsp"/>
</action>
如果是这么配置的,肯定会出现上面的情况
type="org.apache.struts.webapp.example.EditRegistrationAction"
attribute="registrationForm"
scope="request"
validate="false">
<forward name="success" path="/registration.jsp"/>
</action>
看example 中 struts-config.xml文件中的一段。
这是他 的action bean
然后在 EditRegistrationAction 中 用
return (mapping.findForward("success"));
导航到 registration.jsp 页面~~