Skip to content

Instantly share code, notes, and snippets.

@sourcerebels
Created May 15, 2011 16:51
Show Gist options
  • Save sourcerebels/973298 to your computer and use it in GitHub Desktop.
Save sourcerebels/973298 to your computer and use it in GitHub Desktop.
How to get params, request and session values from a Grails application
class TestController {
def list = {
def page = params.page
def theList = request.theList
def user = session.loggedUser
} }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment