# servlets

## Purpose

The `servlets` plug-in enhances with Servlet API with new methods

## Examples

Attributes from the request, session, and servletContext can be accessed with the de-reference operator:

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