I have a question, and a problem that I need fixed soon... I have pulled my hair out while going through some alternatives on how to solve this problem.
See, I have a need to display the current serving Spring Controller from a JSP page. The name doesn't have to be parsed in the JSP itself, I'm actually using another class (a kind of taglibrary) to display this information on the bottom of ever page.
Is there a way to get the controller name from an outside class? (When i say outside, I mean from another class than the Controller itself.) Perhaps from the request somehow? (Or some Spring Security request attribute?). Perhaps an interceptor?
I would like to avoid extending a class from the controller just to fix this issue.
Any advice is appriciated!