views:

291

answers:

1

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!

A: 

try MessageContext in place of validationContext

abc