Lots of ways, but best to read more about them.. 1. LookupDispatchAction 2. You can have different forms for each of them quite easily. 3. Cancel should be an html:cancel and you can check (preferabbly in a BaseAction) if isCancelled(request). 4. Can have an action that one form points to and just have this (preferrably in a baseAction) if (request.getParameter("button_Name_delete") { deleteAction } Note that this is similar to LookupDispatchAction.
sandeep --- pradeep bhargav <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm creating a basic struts application. In my > application, I'm > showing a list of products available to the user. In > this page, I'm having > 4 buttons New, Modify, Delete, Cancel. Now all these > are submit buttons > but I'm having a single form. Now, how can I map the > submit actions to > different pages in struts config. I'm also attaching > the jsp file. Can > anyone please suggest how to solve this problem. > > I also want to use a checkbox to select a record > to perform modify or > delete action on the selected record. Can anyone plz > tell me how to > achieve this?? > > Regards, > > Pradeep Bhargav > > > > ===== > > pradeepbhargav > JCE CIVIL GROUP > MatrixOne India > Scandent Group > [EMAIL PROTECTED] > > > > > __________________________________ > 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] __________________________________ 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]