Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Attachment Download Feature : Streaming huge(> 1 GB) data string from javascript to JSP

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 426
    Answer it

    Hi All,

    Feature Goal :

    To send a huge(sized) string data from javascript side to JSP and download that data as an attachment to user's machine.

    Current behavior :

    We are sending limited sized data in post body (<= 25MB) from javascript to jsp through a form.

    We are appending the string data inside the form, and using form submit method to send the data to JSP.

     

    Problem :

    Since tomcat server has a post body limitation, we had increased it to 25mb, but, the issue is that

    in future if we have to send a data string >25mb, we may have to increase the tomcat post limit again.

    And we don't want to do that every time. So we are thinking of streaming/pipelining the big data to JSP.

    My request is that ,I need a working example of : HOW CAN WE send stream data in smaller chunks to a JSP, from a

    javascript file, to finally gather all the whole data to download it as an attachment?

     

     

     

     

 0 Answer(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: