I solved it with the help of RequestContextHolder using this I can access request object in any ordinary class.
Type: Posts; User: vkpardava; Keyword(s):
I solved it with the help of RequestContextHolder using this I can access request object in any ordinary class.
I need to use request object to get some information and session details too. in validator in spring without passing it into argument.
any kind of context or something that can give me request...