日期:2014-05-18  浏览次数:20930 次

struts<html:form>标签问题 在线等 解决立即给分
新手学struts 在jsp页面想用一个表单,可是一用到<html:form> </html:form> 标签就出现问题~希望各位高手帮帮我这菜鸟.多谢各位大虾了.
我用的是struts   的标准框架.struts.war解压出来的.
jsp   页面的代码

<%@   page   contentType= "text/html;charset=GB2312 "   %>
<%@   taglib   uri= "/tags/struts-bean "   prefix= "bean "   %>
<%@   taglib   uri= "/tags/struts-html "   prefix= "html "   %>
<%@   taglib   uri= "/tags/struts-logic "   prefix= "logic "   %>


<html:form   action= "/Register.do "   focus= "userName ">
<html:text   property= "userName "/>
<html:text   property= "pwdf "/>
<html:text   property= "pwds "/>
<html:text   property= "nickName "/>
<html:text   property= "sex "/>
<html:text   property= "email "/>
<html:text   property= "cardId "/>
<html:text   property= "level "/>
<html:text   property= "registerDate "/>
<html:submit   property= "submit "   value= "提交 "/>
<html:reset/>
</html:form>

下面是错误代码:
HTTP   Status   500   -  

--------------------------------------------

type   Exception   report

message  

description   The   server   encountered   an   internal   error   ()   that   prevented   it   from   fulfilling   this   request.

exception  

org.apache.jasper.JasperException:   Cannot   retrieve   definition   for   form   bean   RegisterForm   on   action   /Register.do
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root   cause  

javax.servlet.ServletException:   Cannot   retrieve   definition   for   form   bean   RegisterForm   on   action   /Register.do
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:843)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:776)
org.apache.jsp.Register_jsp._jspService(Register_jsp.java:81)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root   cause  

哪位高手知道jsf的视频下载地址