Grails

Groovy HTTP builder for sending multipart file.

I had two applications that communicate with each other through web-services. There I had a requirement to send multi-part file from one application to another. After searching I came out with the following solution and thought to share: [java] import org.apache.http.entity.mime.MultipartEntity import...

by Divya Setia
Tag: image upload
31-Aug-2012

Grails

Grails : Upload and Render File

Lets discuss how can we upload a file and store it in a database, along with that how do we render it on the gsp page. I am taking an example to upload and render the image in this blog, though the code would be same for any other file. So Lets consider I have a domain class with the name Person class Person { . ...

by Amit Jain
Tag: image upload
16-Apr-2009