struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsad...@gpnus.mizuho-cb.com
Subject Re: [STRUTS] Please !
Date Thu, 12 Sep 2002 18:30:03 GMT


You probably don't have the ActionForm declared in your struts config xml file.





kiuma <kiuma@usa.net> on 09/12/2002 02:21:07 PM

Please respond to "Struts Users Mailing List" <struts-user@jakarta.apache.org>

To:   Struts Users Mailing List <struts-user@jakarta.apache.org>
cc:    (bcc: Joseph Sadove/DKBDS USA/DKB)

Subject:  Re: [STRUTS] Please !


  *Here is the root cause*

javax.servlet.jsp.JspException: Cannot retrieve definition for form bean null
 at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:897)
 at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:543)
 at org.apache.jsp.userlist$jsp._jspService(userlist$jsp.java:144)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)

 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

 at org.apache.catalina.core.Stan
dardWrapperValve.invoke(StandardWrapperValve.java:243)


*line 144 is of userlist$jsp.java is*


 // begin [file="/secure/userlist.jsp";from=(19,0);to=(19,30)]
               /* ----  html:form ---- */
               org.apache.struts.taglib.html.FormTag
_jspx_th_html_form_0 = new org.apache.struts.taglib.html.FormTag();
               _jspx_th_html_form_0.setPageContext(pageContext);
               _jspx_th_html_form_0.setParent(_jspx_th_html_html_0);
               _jspx_th_html_form_0.setAction("/userlist");
               try {
                   /*int _jspx_eval_html_form_0 =
_jspx_th_html_form_0.doStartTag();*/
                   if (_jspx_eval_html_form_0 ==
javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                      throw new JspTagException("Since tag handler
class org.apache.struts.taglib.html.FormTag does not implement BodyTag,
it can't return BodyTag.EVAL_BODY_TAG");
                   if (_jspx_eval_html_form_0 !=
javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                      do {
                      // end
                      // HTML // begin
[file="/secure/userlist.jsp";from=(19,30);to=(24,15)]
                         out.write("\n<table cellpadding=\"0\"
cellspacing=\"0\" border=\"0\">\n<tbody>\n    <tr>\n
<td>\n            <b>");


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>








--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message