-
Mar 30th, 2012, 02:49 AM
#1
Spring MVC 3.0.6 Getting hold of the controller and action name
See:
http://stackoverflow.com/questions/9...491303_9807721
Question:
================
Is there a way to get the controller and action name currently ( or about to ) executing ?
I am interested in getting this primarily in an Interceptor so I can perform logic depending on action.
Grails for example offers this as params.controller and params.action
Anything similar? Could not find anything on the web.
Spring MVC 3.0.6 ( found this Spring MVC : What is the best way to pass the controller + action name to the view? but it was for version 3.1 )
Thanks!
=================
-
Apr 2nd, 2012, 04:33 AM
#2
Jeezes, really, no way ? One would think moving to Spring, it should be mature enough to support the most basic stuff by now...
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules