When I submit the "ajax-form", I am unable to retrieve the responseText from Java HttpServlet to Javascript.
This is the HTML Code:
<form is="ajax-form" action ="URL" id="formID" method="POST" enctype="multipart/form-data">
....
</form>
Here is the JavaScript Code:
this.$.upload.submit();
And this is the Servlet Code:
response.getWriter().append("responseText ");