Results 1 to 2 of 2

Thread: Spring MVC 3.0.6 Getting hold of the controller and action name

  1. #1
    Join Date
    Mar 2012
    Posts
    25

    Default 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. #2
    Join Date
    Mar 2012
    Posts
    25

    Default

    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
  •