jQuery UI Widgets Forums Editors FileUpload Response is undefined

This topic contains 1 reply, has 2 voices, and was last updated by  admin 3 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Response is undefined #105214


    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");

    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

    Response is undefined #107635

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.