struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alonso, Damian" <>
Subject Exception: Cannot retrieve definition for form bean null using Fo rwardAction
Date Wed, 26 Mar 2003 23:22:49 GMT




I am trying to use a ForwardAction to navigate from one jsp to another.  It
has been suggested that every JSP Page should be fronted by an Action.  I am
currently trying to do this, but getting the following exception:


javax.servlet.ServletException: Cannot retrieve definition for form bean





I don't want to use a form bean because this is just a simple forward
request.  My form in my jsp looks like this:


<html:form action="/goback" target="body">

<html:submit property="action" value="< Back"/>



My struts-config looks like this:


<action path="/goback"







I am using Struts 1.1 RC 1.  When I try to load my jsp, I get the exception
mentioned above.  Can anyone offer any suggestions as to why I would be
getting this exception??


Thanks in advance,



A leading Australian advertising, information 
and directories business.

This email and any attachments are intended only for the use of the recipient and may be confidential
and/or legally privileged.
Sensis Pty Ltd disclaims liability for any errors, omissions, viruses, loss and/or damage
arising from using, opening or transmitting this email.
If you are not the intended recipient you must not use, interfere with, disclose, copy or
retain this email and you should notify the sender immediately by return email or by contacting
Sensis Pty Ltd by telephone on [+61 3 9201 4888]

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message