Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring form question.

 
Jennifer O'Donnell
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
in Mkumar
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"in Mkumar"

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

Thanks

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic