Mar 30th, 2012, 02:49 AM
Spring MVC 3.0.6 Getting hold of the controller and action name
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 )
Apr 2nd, 2012, 04:33 AM
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