"I always thought that ActionBeans aren't really supposed to return any specific information, but are only responsible to initiate changes in the beans which contain data (the model)."
That's not how I think of it. To me there are generally two types of data that can be displayed on a web page (for which there would be getters on the action bean); one is what I think you are calling the model, or what I like to call the domain object(s), the other is what Spring MVC calls the reference data, or form backing object, or other things, depending on the phase of the moon (I'm so glad I'm no longer using Spring MVC). An example of reference data would be numbers for the next 10 years for a drop down list for the credit card expiration date. Sometimes the distinction between reference data and the domain objects is blurred in my mind; for example, I might have a getter and setter for a domain object's database id. On 2011-06-08 02:08, Michael Weber wrote: > Hello- > > thank you for your response. I however don't completely understand one thing > about it: > You offer a method "getPeople" in your ActionBean. It seems this is intended > to pass the result to the jsp page (if so, how exactly can I use this list on > a jsp page?). I always thought that ActionBeans aren't really supposed to > return any specific information, but are only responsible to initiate changes > in the beans which contain data (the model). > > - Michael ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users