Thanks, Only two concerns I have 1) Will introspecttion works as in struts 1.x (automatic population from the jsp form fields, provided the pojo got necessary setters and getters.
2)How about the execution of validate method as per struts 1.x, in struts 1.x Action form has the validate method which will fire before the control delegate to the Action class. Can I achieve the above using ScopedModelDriven mechanism. Thanks --- Mark Menard <[EMAIL PROTECTED]> wrote: > On 4/3/07 7:46 PM, "tom tom" <[EMAIL PROTECTED]> > wrote: > > > We can have one ActionForm with session scope > shared > > across many action classes. (which I believe as a > nice > > feature). How can I achieve such a thing in S2, In > > S2's way if we have this POJO as a Action > attribute, > > what is it's scope? > > > > At the same time I have heard about a interceptor > > called ScopedModelDriven interface. > > You want to look at ScopedModelDriven. Basically the > ActionForm just becomes > a POJO, and that POJO is shared by the various > actions using the > ScopedModelDriven mechanism. > > Mark > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ____________________________________________________________________________________ Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. http://tools.search.yahoo.com/toolbar/features/mail/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]