brunobar79 / J-I-C

J I C is a Javascript Image Compressor using HTML5 Canvas & File API that allows you to compress your jpeg & png images before uploading to the server (100% client-side and no extra libraries required!)
http://makeitsolutions.com/labs/jic/
MIT License
857 stars 196 forks source link

How to pass the compressed file object to struts2 file upload object #3

Closed sureshpattu closed 11 years ago

sureshpattu commented 11 years ago

I am trying to use this compression method on my site. The problem is When I try to compress the file there is no problem, But when I try to parse the compressed file object to struts2 upload that time I am getting null value in file Path.

brunobar79 commented 11 years ago

As far as I know this is just a javascript library and has no relationship with the backend. As you can see in the generic demo, the file is uploaded fine with PHP so you should look for help in some forum related to struts2