concept default in category grails

This is an excerpt from Manning's book Grails in Action, Second Edition.
Grails is about convention over configuration, not convention instead of configuration. If you need to tweak the defaults, the power is there. Grails makes overriding the defaults easy, and you won’t need any XML. But if you want to use your existing Hibernate configuration XML files in all their complex glory, Grails won’t stand in your way.
In the head element of your main layout, add a <nav:resources/> element. This incorporates the menu CSS elements. (You can override default menu styling with your own styling, but the defaults look great.)<head> ... <nav:resources/> </head>
Imagine that you want to search in Hubbub for all posts that have been tagged “grails.” Millions of such posts exist because it’s a cool topic to discuss, and if Hubbub attempted to return all of them, the request would punish both the server and the client. To prevent this, Hubbub returns 50 by default. But a user can override this by passing a max URL parameter, and if you don’t validate the value of that parameter, your application could attempt to return a billion search results. Outcome? Boom! You have a denial of service (DoS).