--- tom tom <[EMAIL PROTECTED]> wrote:
> 1) Will introspecttion works as in struts 1.x
> (automatic population from the jsp form fields,
> provided the pojo got necessary setters and getters.

Yes.

See the CRUD documentation for easy examples:

http://struts.apache.org/2.x/docs/crud-demo-i.html

> 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.

Similar.

Again, the documentation:

http://struts.apache.org/2.x/docs/validation.html

> Can I achieve the above using ScopedModelDriven
> mechanism.

The two points above are completely independent of
ScopedModelDriven:

http://struts.apache.org/2.x/docs/scoped-model-driven-interceptor.html

Better documentation for ScopedModelDriven is most
likely forthcoming. The showcase app has an example of
ModelDriven, which is similar but not scoped.

d.



 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to