springmvc tag

1 questions


1 answers
149 views
0
Is there a way to get HttpServletRequest from the controller of spring mvc without adding a parameter to the method?

I understand that to receive HttpServletRequest from the controller of spring mvc, you can add the parameter of the function as shown below. @RequestMapping(value = /, method = RequestMethod.GET) pub...

2 years ago

© 2024 OneMinuteCode. All rights reserved.