I am writing a java servlet in a GWT app which handles the export functionality of a HighStock chart. I have used the ExportController and modified it for GWT. I have pointed the export url on client side javascript, to this new servlet. I can see that when I click download a png, the browser makes a post call to this new servlet, but i don’t get any parameters in the request. The request params(svg, options, etc) are all nulls.
Can someone point me to, what I am missing here?
I am writing a java servlet in a GWT app which handles the export
Share
Actually the highcharts export module sends a “multipart/form-data” request. I was trying to parse the parameters as get request. This is how you can parse a multipart/formdata request-
…
…
}
}
https://gist.github.com/4695345