Hi I have a following situation:

2 .jsp views (New and Edit) using 
1 actionform (Product1)
calling 2 separate actions(1 each)
1 is editAction product 
1 is newAction product
both actions will call third SaveAction at the end

However depending on which Action(new or edit) user
came from, different functions will be performed by
SaveAction. Since I cannot define one input in struts
config for SaveAction, how can I find out which action
the call came from to SaveAction ? so I know which
methods to call and which .jsp to return to in case of
errors?  Is there a way to do it, or I am going
completely wrong about it and there is a better way?
Thank you.

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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

Reply via email to