Kendo Upload with Struts Framework

2 posts, 0 answers
  1. Cad
    Cad avatar
    1 posts
    Member since:
    Apr 2014

    Posted 21 Apr 2014 Link to this post

    Hello my name is Carlos Adrian I have trouble integrating KendoUI upload a JSP with Struts web project, I try to mapping my POST request to my Controller but it always empty.
    Can anyone help me please?
    <!--This is a part of my code on the JSP page-->
    <div class="col-sm-12">
      <input type="file" id="attachments" class="id-input-file-2"/>
    <script type="text/javascript">
        $(function() {
                async: {
                    saveUrl: "\anexos",
                    removeUrl: "\anexos",
                    autoUpload: true
  2. Dimiter Madjarov
    Dimiter Madjarov avatar
    2308 posts

    Posted 23 Apr 2014 Link to this post

    Hi Cad,

    I am not exactly sure how the requests are mapped in Struts Framework. As a general information the Kendo UI Upload widget uploads the files via a standard XMLHttpRequest with FormData in modern browsers or via a form in a hidden iframe in legacy browsers. This means that if the current issue is reproducible even without the Upload widget, but with a separate XMLHttpRequest, you could look for help on stackoverflow, where more people might be familiar with Struts.

    At the moment we can provide examples and documentation for the Spring MVC Framework.

    Dimiter Madjarov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top