| Author |
upload files to http post request
|
Jiten Kothari
Greenhorn
Joined: Apr 08, 2010
Posts: 8
|
|
Hi Experts,
I am trying to upload all the files at once through http post request. Previously it passing the document one by one and I need to pass all at once.
this is what I wrote the code so but I am getting error groovy cast exception error which I wrote on comment.
any help will be appreciated.
|
 |
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15230
|
|
You didn't tell us what isn't working but you're making this way to hard on yourself. Check out this blog:
http://blog.robert.freudenreich.eu/grails-handling-multi-file-parameters
|
 |
Jiten Kothari
Greenhorn
Joined: Apr 08, 2010
Posts: 8
|
|
I got the solution to the problem. I wanted to add more then one file to multi part entity and then submit group of files at same time to http post request.
Thanks for the help
here is the solution code
|
 |
 |
|
|
subject: upload files to http post request
|
|
|