In a struts project say I have many JSP pages , so is it a good idea to make the same number of action form beans s ? or what should be am intelligent design?
and which type of inputs in JSP I should take as an arraylist? actually I am looking for a working example where you need to get all kind of inputs ( say multiple selection , long strings , images ) in a JSP page and from JSP page in which formation it is moving further.... ( I am looking for source-code but not a whole project )
Which version of Struts are you using? In Struts 1, actions and their results are rather tightly coupled. It is possible to combine functions into one action and have that action forward to different result pages, but it can get tedious as you are duplicating the front controller functionality in your actions for little gain (reducing the number of classes) In Struts 2, it is actually encouraged to combine related actions (for example the CRUD demo in the Struts documentation) in a single action class. I'm not sure what you mean in the second part of your question. Are you asking what form tags can work with collections? [ March 21, 2008: Message edited by: Joe Ess ]