Search Posts

Category: grails

change grails localhost port

1.Change grails.serverURL in Config.groovy from “http://localhost:8080/${appName}” to “http://localhost:8090/${appName}”. 2.Launch grails with -Dgrails.server.port.http=8090 on the command line. Set the GRAILS_OPTS environment variable to -Dgrails.server.port.http=8090 to have it applied automatically.

use RequestContextHolder to get session and test with mock



Grails HQL Pagination


Grails HQL Count


Count Everything

    count Group By


Next Page »