少 name="xxxForm"
<form-bean name="xxxForm"
type="com.ss.tt.xxxForm"/>
</form-beans>
<form-bean name="xxxForm"
type="com.ss.tt.xxxForm"/>
</form-beans>
解决方案 »
- 我在web-xml中写有mapping,但报错说没有,运行没成功。
- 请问mime如何解包获取里面的内容
- 如何用Java类和网址通讯,并向网址传递负责数据类型(MAP、List等)。
- 求教Hibernate排序和分页的问题!
- J2EE高手们,我用Hibernate怎么老是出现PropertyNotFoundException异常,是为什么啊?谢谢!
- 多线程读取同一个文件,有的线程读着读着就中止了。。。。。。
- 请教一个jbuilder + tomcat 问题 StandardHost[localhost]: MAPPING configuration error for request URI /index.jsp
- JAVA初学的困惑-哪里有项目培训资料!
- 在j2ee中要运行一个servlet怎样设置(在线等待!!)
- 请告诉我怎么在weblogic7中配置mysql?谢谢!
- 请问在hibernate中什么时候要用到po的关联?
- spring 渲染视图时不能加载css和js 怎么办
//========设置actionForm
<form-beans >
<form-bean name="UserregisterActionForm" type="functionbackage.customer.forms.UserregisterActionForm" />
</form-beans >
//========设置action===========<action
attribute="UserregisterActionForm"
input="/userregister.jsp"
name="UserregisterActionForm"
path="/UserregisterAction"
scope="request"
type="functionbackage.customer.actions.UserregisterAction" validate="true">
<forward name="lendmoney" path="/lenmoney.jsp" />//跳转页面
</action>
jsp页面:
<html:form action="/UserregisterAction.do">
(action="/UserregisterAction.do指action的path)
在控制器(Action):
public ActionForward UserregisterAction(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
{
return mapping.findForward("lendmoney");
//配置文件<forward name="lendmoney"名 }