Spring webflow validation

Posted by Richard on Stack Overflow See other posts from Stack Overflow or by Richard
Published on 2009-11-11T13:39:31Z Indexed on 2010/06/02 20:54 UTC
Read the original article Hit count: 743

Filed under:
|
|

Hi, complete and utter newbie on spring webflow (and indeed, spring mvc). 30 minutes in... got the first page of my flow appearing, which happens to be a captcha, an input field and a submit button.

The actual captcha value is stored in session and i need to validate that the input field values matches the value in session.

In order to do validation, my model is passed a 'ValidationContext'.

Question: i can't seem to access session data from the ValidationContext. How do i do this?

Thanks!

© Stack Overflow or respective owner

Related posts about validation

Related posts about spring