I think you don't have defined an action-mapping for path "insertUser".

<html:form> looks for the form-bean name in mappings that comes with the path that is 
set by action attribute. It find
nothing so "null" is the name of the current bean that it is looking for, and you get 
this exception.


Nico.



> I have the following code in my struts config:
> ...
>         <form-bean
>             name="jumpCenterForm"
>             type="form.JumpCenterForm"
>         />
> ...
>
> ...
>         <action
>             path="/viewJumpCenter"
>             type="action.ViewJumpCenterAction"
>             scope="request"
>             name="jumpCenterForm"
>             validate="false"
>             input="screen.jumpCenter">
>             <forward name="form" path="screen.jumpCenter" redirect="false"
> />
>         </action>
> ...
>
> ...
> <html:form action="insertUser" method="POST">
> ...
> </html:form>
>
> ...
>
> When the action viewJumpCenter is called, I receive the following error:
> [ServletException in:/WEB-INF/jsp/jumpCenter.jsp] Cannot retrieve definition
> for form bean null'
>
> What is happening here?  I have several other forms setup like this that do
> not require me to specify the type of form bean in the html:form tag.  What
> else could be causing this error?  I put debug statements in the form and
> action constructors, they are being created fine.  Any Ideas?
>
> Regards,
>
> Joshua
>
>
> This communication, including attachments, is for the exclusive use of
> addressee and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, any use, copying,
> disclosure, dissemination or distribution is strictly prohibited. If
> you are not the intended recipient, please notify the sender
> immediately by return email and delete this communication and destroy all copies.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to