This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

accessing spring controller mapping

 
Jason Nesbitt
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way that I can determine in my controller what particular spring mapping url was used to get there?

Thanks
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is that information available in the HttpServletRequest? In the Headers maybe? I mean I would think it was in there, and you have complete access to the Request in a controller.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic