(Quick Reference)

servlets

目的
Purpose

The servlets plugin enhances Servlet API classes with new methods

使用例
Examples

Allows attributes from the request, session, and servletContext to be be accessed with the de-reference operator:

class BookController {
    def find() {
        def findBy = params.findBy
        def foo = request.foo
        def loggedUser = session.logged_user
        …
    }
}