-
Jan 14th, 2009, 10:30 PM
#1
Get HttpServletRequest of current request
Is there a static way to get the HttpServletRequest of the current request??
I am using Spring MVC with annotations, and I am writing some static helper methods that need the HttpServletRequest object. But I really don't want to have to specify a HttpServletRequest parameter in my RequestMapping methods just to pass them ahead to these helper methods.
Thanks in advance,
Vitor.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules