Announcement Announcement Module
Collapse
No announcement yet.
Get HttpServletRequest of current request Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.
Working...
X