<html:html>
<html:form action="/login.do">
<html:text property='name'></html:text>
<html:text property='age'></html:text>
</html:html>
stuts配置文件(部分):
<action-mappings >
<action name="stu" path="/login.do" type="cn.com.swg.struts.action.LoginAction">
<forward name="ok" path="/ok.jsp"/>
<forward name="no" path="/no.jsp"/>
</action>
一运行就说红字语句出错!郁闷啊困扰一天了。。实在不知道怎么办
<html:form action="/login.do">
<html:text property='name'></html:text>
<html:text property='age'></html:text>
</html:html>
stuts配置文件(部分):
<action-mappings >
<action name="stu" path="/login.do" type="cn.com.swg.struts.action.LoginAction">
<forward name="ok" path="/ok.jsp"/>
<forward name="no" path="/no.jsp"/>
</action>
一运行就说红字语句出错!郁闷啊困扰一天了。。实在不知道怎么办
是不是应该添加一个</html:form>