Hello
I have a problem with jqxFileUpload.
My upload is working, but response doesn’t work…
I have java for backend, ( and using spring and not JSP, but it should be the same…
I have follow tutorial for java JSP.
@PostMapping(value = "/simulation/uploadStimuli")
private void uploadStimuli(@RequestParam("fileToUpload") MultipartFile[] file, HttpServletResponse response) throws IOException, ParseException {
for (MultipartFile f : file) {
[...]
}
response.setContentType("text/html; charset=UTF-8");
response.getWriter().write("ok");
}
But the response in args.response = undefined…
But when i check the response in Network in my debug console, I receive “ok”…
So, it works… But don’t understand why my args.response = undefined…
Do you know why?
thanks a lot