Today, I wanted to do some debugging of an ExtJS app that uses Grails. In the past, I would have just copied and pasted the ExtJS source files into my Grails webapp folder. But today, I decided there has to be a way to set up a mapping in Tomcat to point to my ExtJS source folder without having to copy and paste it into my webapp folder. And indeed there is!
In case anyone ever wants to do something similar, you create (or edit) an _Events.groovy file in your /scripts directory which contains code like this:
Not quite as simple as I had hoped, but not too bad either.