Top "Grails" questions

Grails is an Open Source, full stack, web application framework that uses the Groovy programming language (which is in turn based on the Java virtual machine (JVM) and Java.

Posting a File and Associated Data to a RESTful WebService preferably as JSON

This is probably going to be a stupid question but I'm having one of those nights. In an application I …

json rest grails file-upload
How to pass parameters to a modal?

I want to pass the userName from a list of userNames a logged in user clicks on to twitter bootstrap …

javascript twitter-bootstrap grails angularjs
Is there a better way to write this null check, and a non-empty check, in groovy?

I need to perform a null/empty check on some code, before performing some logic. I have item below, because …

grails groovy
How do I properly set the permgen size?

I have this VM with tomcat, java, and grails in it. I've been getting permgen errors so I looked around …

java tomcat grails jvm permgen
How to find a user's home directory on linux or unix?

How do I find the home directory of an arbitrary user from within Grails? On Linux it's often /home/user. …

java linux unix grails
What in the world are Spring beans?

I am yet to find a high-level definition of Spring beans that I can understand. I see them referenced often …

java spring grails
Convert base64 string to image

I am trying to crop/resize user profile image using jquery plugin namely crop.js which sends user image as …

java ajax image grails base64
Copy entire directory contents to another directory?

Method to copy entire directory contents to another directory in java or groovy?

java grails file-io groovy
What is the correct target for the JAVA_HOME environment variable for a Linux OpenJDK Debian-based distribution?

In Windows, JAVA_HOME must point to the JDK installation folder (so that JAVA_HOME/bin contains all executables and …

java grails java-home debian-based
Why do I get a "Null value was assigned to a property of primitive type setter of" error message when using HibernateCriteriaBuilder in Grails

I get the following error when using a primitive attribute in my grails domain object: Null value was assigned to …

grails gorm