Thanks for the help, but I'm still getting "Cannot retrieve definition
for form bean null".  Is there a param in web.xml that is needed?  If I
add a form bean, everything works great.

Thanks,
Bryan

-----Original Message-----
From: Trieu, Danny [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 12 September 2001 6:54 p.m.
To: '[EMAIL PROTECTED]'
Subject: RE: How to not use FormBean


here is an example of the action defined inside the strut-config


    <!-- View User Agreement -->
    <action path="/viewUserAgreement"
            type="com.exchange.action.ViewUserAgreementAction"
            >
      <forward name="success" path="/userAgreementPage.jsp" />
    </action>

And no you dont' have to use FormBean for your taglib.  Any standard
bean will work just fine.

-----Original Message-----
From: Bryan Ross [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 11, 2001 11:26 PM
To: struts-user
Subject: How to not use FormBean


Hi,

I'm new to struts and have a couple questions about FormBeans.  

The application we're developing will have quite a few forms and I
wanted to avoid creating a separate form bean for each JSP form.  I
thought I read that I don't have to use FormBeans, but when I try, I get
an exception "Cannot retrieve definition for form bean".

What is the proper way of not using FormBeans?  In my struts-config, I
left out the name attribute.  Is this correct?

Do I have to use FormBeans if I'm using the HTML taglib?

Thanks
Bryan

Reply via email to