title: Can we get HttpRequest Object in Controller in Spring MVC
body: <p>Is it possible that I can get HttpRequest object in my Controller class in Spring MVC ?</p>
  
  <pre><code>@Controller
  public class ContactController {
  
      @Autowired
      private ContactService contactService; 
  
      @RequestMapping("/login")
      public String displayLoginPage(@ModelAttribute("login") Login login, BindingResult result) {
          return "login";
      }
  }
  </code></pre>