wood burning stoves
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
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Spring form question." Watch "Spring form question." New topic

Spring form question.

Jennifer O'Donnell

Joined: Sep 30, 2008
Posts: 4
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: 15302

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

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

Joined: Feb 05, 2001
Posts: 17276

"in Mkumar"

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



Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link: http://aspose.com/file-tools
subject: Spring form question.
jQuery in Action, 3rd edition