Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
ModelDriven in struts2
sarada bokka
Ranch Hand
Posts: 80
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi All,
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???
David Newton
Author
Posts: 12617
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
ActionForm is a Struts-specific class. ModelDriven allows the use of *any* class, making things easier to
test
, easier to use outside of
Struts
, and so on.
Pradeep Adibatla
Ranch Hand
Posts: 336
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
making things easier to test, easier to use outside of Struts
test as in
JUnit
et al? what's so easier then?
Outside of struts meaning say with a
jsf
or CGI et al
kindly clarify.... thanks...
mooooooo ..... tiny ad ....
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
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
More...