This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes accessing spring controller mapping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "accessing spring controller mapping" Watch "accessing spring controller mapping" New topic

accessing spring controller mapping

Jason Nesbitt

Joined: Aug 16, 2004
Posts: 16
Is there a way that I can determine in my controller what particular spring mapping url was used to get there?

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

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.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: accessing spring controller mapping
It's not a secret anymore!