Top "Grails-controller" questions

This tag is about the controllers in Grails Open Source Framework technology.

How to do a Union SQL statement in HQL?

I'm trying to create a Union between two tables, using HQL (Hibernate Query Language). This SQL script works fine on …

hibernate grails hql grails-controller
Inject grails application configuration into service

I'm creating a grails service that will interact with a 3rd party REST API via a Java library. The Java …

grails grails-controller
how to use session in grails

I am new to grails. And I have to work with session. I have seen the session documentation. But no …

session grails grails-2.0 grails-controller
Grails controller rendering method render vs respond

I just realised that for a Grails controller there is another rendering method 'respond'. What's the difference between respond and …

grails grails-controller
Grails. Could not resolve view with name 'index' in servlet with name 'grailsDispatcherServlet'

I'm getting started with Grails (3.x) Framework but I got stuck with this error while trying to render domain content …

grails grails-controller
Groovy Grails, How do you stream or buffer a large file in a Controller's response?

I have a controller that makes a connection to a url to retrieve a csv file. I am able to …

grails response grails-controller
redirect in Grails controller

I'm new to Grails , i'm using Grails version 2.3.4 , in my application i have 2 controllers AppUser and ManageLicences , in the AppUsers …

grails grails-controller
How to force grails to download csv files?

In my gsp view, I have this code : <g:each in="${fileResourceInstanceList}" status="i" var="fileResourceInstance"> <tr …

grails groovy grails-controller
Grails 2.3 - run-app not working

I am getting error while running my Grails app. My application working in Grails 2.1.4. I am using Groovy 2.1.* Java 1.7 Tomcat 7.0.37 …

grails grails-plugin grails-2.0 grails-controller
How do you share common methods in different grails controllers?

Currently when I need to share a method like processParams(params) between different controllers, I use either inheritance or services. …

model-view-controller grails grails-controller