Read a file form web-app
Posted
by Steve Brewer
on Stack Overflow
See other posts from Stack Overflow
or by Steve Brewer
Published on 2010-04-04T07:12:20Z
Indexed on
2010/04/04
7:23 UTC
Read the original article
Hit count: 271
grails
Inside a grails application, I need to upload a file under web-app/js, add a prefix, and put it in S3. I'm having trouble figuring out how to read the js file in a way that will work in development (/web-app/js) and production (/js). I'm doing this from inside a domain object.
© Stack Overflow or respective owner