(Quick Reference)

URLMappings

Purpose

The URLMappings plug-in configures Grails' URL Mapping infrastructure.

Examples

An example UrlMapping class:

class UrlMappings {
    static mappings = {
        "/$controller/$action?/$id?" {
            constraints {
                // apply constraints here
            }
        }
    }	
}

Description

Refer to the section on URL Mapping in the Grails user guide which details how Grails' URL mappings work.

Configured Spring Beans: