Blog Archives

Grails: How to access action/controller/param inside a service

Use case Even though a service should be stateless and application-/context-independent, I needed to access the current controller and action from inside a service class. Namely I have a URL-Service, which provides various kinds of dynamic URL methods. One of

Tagged with: , , , ,
Posted in Grails, Groovy, Java
Archive
Categories