This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes Spring form question. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Spring form question." Watch "Spring form question." New topic
Author

Spring form question.

Jennifer O'Donnell
Greenhorn

Joined: Sep 30, 2008
Posts: 4
Hi,
I'm looking for a way in Spring to persist form values beyond the initial post request. I post a form to a controller (not a form controller) that then calls another form and ends up at a third page where I'd like to print out the values of the original form. That's a simplification. Right now, I'm coding by hand extracting all the form values and putting them into the session object so I have access to them on the third page. I'm thinking, Spring, super-popular framework, must have an easier way to do this.

Thank You!
[ October 26, 2008: Message edited by: Jennifer O'Donnell ]
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

Might want to take a look at Spring Webflow

The Web Flow module is a MVC extension that allows you to define Controllers using a domain-specific-language. This language is designed to model user interactions that require several requests into the server to complete, or may be invoked from different contexts.


GenRocket - Experts at Building Test Data
in Mkumar
Greenhorn

Joined: Sep 08, 2008
Posts: 20
Dear, Using command pattern(Define command class and command name) in context fil(since request object directly binds with command object) you can get those form values any places in web tier. I would suggest you please go through spring's coommand pattern.

Please let me know if you need nay further help- Manoj
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

"in Mkumar"

Please change your display name to meet the JavaRanch Naming Policy of using your real first and real last names.

Thanks

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Spring form question.