Actually my real issue is i have a huge volume of data to deal in a page.So my Action form was very huge. Then i thought of using multiple forms.I would appreciate if you can suggest me some other ways to deal this issue. Right now i have aroung 170 form elements, hence 170 * 2 methods(getters and setters) and it seems like i am just half way through my project.So waht is th best way to handle this situation?
Thank-you, Manoj Mathew GIS 515-362-0539 -----Original Message----- From: Hookom, Jacob [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 10:10 AM To: Struts Users Mailing List Subject: RE: multiple action forms in a single jsp What you are describing almost sounds like a good use of JSF-- If you have 5 forms on a page, separate, do you want to save the state of the other 4 forms if submit is sent for one of them? -----Original Message----- From: Mathew, Manoj [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 10:02 AM To: Struts Users Mailing List Subject: RE: multiple action forms in a single jsp Actually i had a single action form till yesterday. But since the form is getting bigger and bigger (it is very huge now and i am just half way done), I was thinking of other possibilities. My application is very complicated and have to deal with huge datas and i need to show very huge amount of data ina single page in this case. I already have issues with jsp size and doing dynamic include to oversome that. So now you can imagine the amount of data i am dealing with.. Any other alternatives are welcomed. Thank-you, Manoj Mathew GIS 515-362-0539 -----Original Message----- From: Ben Anderson [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 9:51 AM To: [EMAIL PROTECTED] Subject: RE: multiple action forms in a single jsp I think you need to take a step back and understand how http works. Per each request, only one html form can be submitted(whether it's a get or a post). This is not specific to Struts, Java or any web server solutions. Your design is flawed, but it doesn't pertain to Struts. You can have more than one form one a page, but only one will be submitted in the request. -Ben >From: "Mathew, Manoj" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Subject: multiple action forms in a single jsp >Date: Thu, 29 Jan 2004 09:38:33 -0600 > >Hi > >I am having multiple action forms in a single jsp and wondering how to give >multiple form names in the mappings. > <action path="/saveAdd" >type="com.group.myproject.ui.module1.SaveAndAddMemberAction" > name="form1" scope="request" input="my.jsp"> > <forward name="success" path="/my.jsp" /> > <forward name="failure" path="/my.jsp" /> > </action> > >here my.jsp has form1,form2,form3 and form 4 and i want my action "saveAdd" >to access all these forms and execute some functions. >1. How will i specify multiple forms in the strutsconfig mapping >2.How can i access each forms in my actions since the scope is request. > public ActionForward execute(ActionMapping mapping, ActionForm form, >javax.servlet.http.HttpServletRequest request, >javax.servlet.http.HttpServletResponse response) throws Exception { > form1 frm = (form1) form; > >but how will i get other forms? > >Thank-you, >Manoj Mathew > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Scope out the new MSN Plus Internet Software - optimizes dial-up to the max! http://join.msn.com/?pgmarket=en-us&page=byoa/plus&ST=1 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

