if u need the form in your offer.jsp(the one you are
forwarding from NewOfferAction), you shud have this in
your config file


    <action    path="/registrationOffer"
type="be.uniway.spofferlt.RegistrationOfferAction"
            name="offerForm"
              scope="request" >
     <forward name="success" 
path="/jsp/offerList.jsp"/>
    </action>
    
This way, you have the Form forwarded to offer.jsp, 

HTH

--- Benoit Segaert <[EMAIL PROTECTED]> wrote:
> I have the following config:
> 
>   <form-bean      name="offerForm"
>                    
> type="be.uniway.spofferlt.OfferForm"/>
> 
>   </form-beans>
> 
>   <action-mappings>
> 
>     <action    path="/newOffer"
>               
> type="be.uniway.spofferlt.NewOfferAction"
>                name="offerForm"
>               scope="request"
>            validate="false">
>      <forward name="success" 
> path="/jsp/offer.jsp"/>
>     </action>
> 
>     <action    path="/registrationOffer"
>               
> type="be.uniway.spofferlt.RegistrationOfferAction"
>               scope="request" >
>      <forward name="success" 
> path="/jsp/offerList.jsp"/>
>     </action>
>     ...
>  </action-mappings>
> 
> My offer.jsp is the following:
> 
>         <html:form action="/registrationOffer.do">
>             <html:hidden property="action"/>
>             ...
>         <html:form/>
> 
> My class be.uniway.spofferlt.NewOfferAction received
> the form OfferForm
> and I can
> set some attributes with setters. The getters are
> also available.
> The method perform() of  NewOfferAction finishs with
> the following line:
> 
> 
>         return (mapping.findForward("success"));
> 
> I receive the error "Cannot retrieve definition for
> form bean null" at
> this moment.
> 
> Could you help me?
> I didn't find a answer in the mailinglist.
> 
> Benoit
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

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

Reply via email to