Using Servlets within Grails Applications

Hiding the nuts and bolts of what happens behind the scenes in Grails web applications is one of its strong points. 99% of the time we use controllers and actions, we access the ‘params’ parameter map to see what’s been passed to our code and respond accordingly without never needing to think any further as […]

Grails IllegalStateException On CommandObjects

A very small but I’m sure useful snippet here for anyone banging their head against a wall trying to figure out why they cannot validate command objects. Or even why submitting a form they get this rather misleading exception message from Grails. Method on class [com.tucanoo.SomeCommandObject] was used outside of a Grails application. If running […]

Grails Metaprogramming

With the extremely rapid rapid application development benefits provided by Grails,  It can be tempting to feel you have learned nearly everything you need to know by the time you’ve got your first web app up linked to a database with full CRUD facilities and error handling ready.  I’m sure you were as impressed with […]