Announcement Announcement Module
Collapse
No announcement yet.
Spring MVC 3.0.6 Getting hold of the controller and action name Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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!
    =================

  • #2
    Jeezes, really, no way ? One would think moving to Spring, it should be mature enough to support the most basic stuff by now...

    Comment

    Working...
    X