Is there a way to launch an application through Intelli-J so that it makes localhost:8080/
the root of the application? The problem I'm having is that AJAX urls that work locally don't work in production, and createLink(action:"ajaxUpdate")
seems to create references to /app/ajaxUpdate
, which works locally but not in production.
Is there a way to fix createLink
to work in both locations? I thought perhaps I could just use UrlMappings to make all the ajax calls pretty and just refer to /ajaxUpdate
, but that doesn't work because of how the grails application is deployed within Intelli-J.
How do I fix this?