A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
ModelDriven in struts2
Joined: Jan 13, 2010
Jan 16, 2010 01:18:42
I assume ModelDriven is a relation between Action and the JavaBean model (i.e in struts1 Action and ActionForm) am i right?
If i am right what is the purpose of removing ActionForm and introducing this modeldriven with interceptors???
Joined: Sep 29, 2008
Jan 16, 2010 04:34:23
ActionForm is a Struts-specific class. ModelDriven allows the use of *any* class, making things easier to
, easier to use outside of Struts, and so on.
Joined: Oct 27, 2009
Jan 21, 2010 06:04:37
making things easier to test, easier to use outside of Struts
test as in
et al? what's so easier then?
meaning say with a jsf or CGI et al
kindly clarify.... thanks...
I agree. Here's the link:
subject: ModelDriven in struts2
Struts : how to reload a Listing Page later.
Repopulating form in struts2
Struts2 - How to declare name/scope for a Bean
Model driven validation
How to access the property of action in case of ModelDriven
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014