-
Apr 30th, 2008, 02:59 AM
#1
SpringMVC vs Struts
Hi all. I know this is a spring forum, but this is more of a struts question I suppose.
One thing I like about Spring MVC is the easy way it allows you to initialize your form bean before the view is displayed to the user. For example, using the formBackingObject() or setupForm() method, you can setup form fields so they are populated when the view loads.
I never found such a simple way of doing this with stuts (I did do it, but it was very complex) - do you know if there is any easy way in struts?
Thanks!
-
Apr 30th, 2008, 08:51 AM
#2
It's easy to do in Struts 2 by implementing the Preparable interface. Struts 1 - not so easy.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules