I have combined the EditRegistrationAction and SaveRegistrationAction into
one class. On my jsp, I have a hidden field called action, which indicates
what type of action, Create, Update, Save coming into the action class. I
branch in the perform method accordingly.
Hope that helps,
Robin
-----Original Message-----
From: Venkat Jonnalagadda [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 31, 2001 5:34 PM
To: Struts User (E-mail)
Subject: Help!!!
Hi,
i am new to struts and i am going through the struts-example
application. in the struts-config.xml under the action mappings section, for
every action there is a action class, for same domain (lets say for
registration, there is a EditRegistrationAction and SaveRegistrationAction
and same with subscription too). is there a way to couple the edit/save and
may be delete and someother actions into the same action class instead of
having one for every operation...
Any ideas anybody?
-Venkat