Do GSP containers know?
GSPs are actually compiled into class files when the war is built, and not during tomcat runtime - if you unzip the war file, you can see what it does (look at the unpacked WEB-INF / classes directory)
... gsp_appname_controllerNameviewName_gsp.class gsp_appname_controllerNameanotherViewName_gsp.class ...
The container does not need to do anything at runtime, since everything is precompiled.
Is there any fact that grails is installed on the server in containers?
This is not true; everything necessary to run the application is included in the war, so the rake installed on the container server does not matter.
Rob hruska
source share