Here's an info dump of some things I did to get Linux aspell-based spell checking working with the Grails CKEditor plugin.
Here is a JSP version of the server-side script needed for the CKEditor plugin for aspell.