In grails application, one can access the WEB-INF contents including all the .gsp content as well as .class file when deployed.
I am using grails 2.3.5 and deploying the war in the tomcat 7.
You can access the files using
http://mydomain.com/static/WEB-INF/web.xml
http://mydomain.com/static/WEB-INF/grails-app/views/anyview.gsp
http://mydomain.com/static/WEB-INF/grails-app/i18n/messages.properties
http://mydomain.com/static/WEB-INF/classes/anyclass.class
Can I disable access to these url in grails?