谁能帮我100分 Struts
现在在学Struts
Struts动态ActionForm
两个界面
一个是登录
有用户名,和密码,建了个动态的LoginForm
另一个界面注册
有用户名,密码,年龄
把年龄,是加到动态的LoginForm
还是重建一个动态的RegistForm
大哥 请教,不懂!!!!!
Struts动态ActionForm+验证的
struts-config.xlm文件
<form-bean name="userForm"
type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="user" type="com.eHome.entity.UserTO" />
</form-bean>
regist.jsp文件
<html:form action="/regist.do?op=regist" method="post">
用户名: <html:text property="user.userName"> </html:text>
年龄: <html:text property="user.userName"> </html:text>
地址: <html:text property="user.userName"> </html:text>
<html:submit value="注册"> </html:submit>
</html:form>
怎么y一进入regist.jsp就不能显示
提示错误 好像是getset .......userName......什么的记不清楚了
怎么错的啊,
还是不能这样写
我只用了Struts一个框架
还有就是谁能加我的QQ号535215232
没事可也多聊聊,加了好多群,都没人说话
小弟在这里拜谢了,大哥!!!
我以后还有靠java吃饭!!!
希望懂ssh
我不会一直问问题的,只是有些弄不清楚!
大哥!!!!!!!!!!!!!!!!