Where in the grails files can I define a different context path for a grails app to run on Tomcat ? (For instance, the project is called MyApplication, but I want to reference it as /myapp) Thanks
Asked
Active
Viewed 3,120 times
1 Answers
6
If your deploying to production the easiest way is to just rename the war file to myapp.war. You can also add something like the following to your application.properties to ajust the path you go to in order to access your application when using grails run-app
app.context=/myapp

Jared
- 39,513
- 29
- 110
- 145
-
Thanks for your reply ... I changed the name and worked just fine. – xain Feb 09 '10 at 13:12