struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <Wendy.Sm...@asu.edu>
Subject RE: FormBean
Date Sun, 04 May 2003 23:38:36 GMT
> How do I attach a form bean to an action?  I'm guessing this is
> something I do in my structs-config.xml, but where?

You're correct that it's in struts-config.xml.  It is the "name" attribute
of the "action" tag that says which form to use:
 <action    path="/editReminder"
               type="edu.asu.vpia.struts.EditReminderAction"
               name="reminderForm"
      ...

And then reminderForm was defined earlier in struts-config.xml:
<form-bean      name="reminderForm"
     ...

HTH,
-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 


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