I was courious why the spring framework doesnt supply any option what so ever that will allow me access the HttpSession in a validator.
The thing is, I need to access a user object in the session so that I can get the users Locale. I need to get that Locale so that I can verify that the inputed date string confirms to that users locale. For example:
I could put the locales identifier string in the command bean but then I need to regenerate the locale from that string. That is too much overhead. If only I had access to the session my code would be nice and cleaner than putting such things in the command bean.
Has anybody got an idea how to get the session in a validator?
Thanks in advance,