Note that there are some explanatory texts on larger screens.

plurals
  1. POUploadify plugin doesn't call Java Servlet
    primarykey
    data
    text
    <p>i just started using Uploadify flash plugin instead of standard HTML UI.<br/> And met the next problem:<br/><br/> <strong>when I click "Upload Files" link,that progress is shown and "completed" status is appeared, but in reality - it didn't happened anything,Java Servlet isn't called from backend.</strong><br/><br/> There is upload servlet and uploading performed next way <strong><em>earlier</em></strong>:</p> <pre><code>&lt; form enctype="multipart/form-data" method="post" target="uploadFrame" action="&lt;%= request.getContextPath() %&gt;/uploadFile?portletId=${portletId}&amp;remoteFolder=${remoteFolder}"&gt;... </code></pre> <p>After providing Uploadify plugin, UI <strong><em>now</em></strong> looks like:</p> <p>plugin part(configuration):</p> <pre><code> &lt;script&gt; ... oScript.text+= "$j('#uploadify').uploadify({"; oScript.text+= "'uploader' : 'kne-portlets/js/lib/uploadify/scripts/uploadify.swf',"; oScript.text+= "'script' : '&lt;%= request.getContextPath() %&gt;/uploadFile?portletId=${portletId}&amp;remoteFolder=&lt;%= decodedString %&gt;',"; oScript.text+= "'cancelImg': 'kne-portlets/js/lib/uploadify/cancel.png',"; oScript.text+= "'folder' : '&lt;%= decodedString %&gt;',"; oScript.text+= "'queueID' : 'fileQueue',"; oScript.text+= "'auto' : false,"; oScript.text+= "'multi' : false,"; //oScript.text+= "'sizeLimit' : 1000"; oScript.text+= "});"; oScript.text+= "});"; ... &lt;/script&gt; </code></pre> <p>'scripts' parameter here points to Java Servlet on backend</p> <p><code>&lt;%= decodedString %&gt;</code> is folder path, which value is <em>\\file-srv\demo</em></p> <p>part for uploading:</p> <pre><code>&lt;input type="file" name="uploadify" id="uploadify" /&gt; &lt;a href="javascript:$j('#uploadify').uploadifyUpload();"&gt;Upload Files&lt;/a&gt; </code></pre> <p>Where is my fault?</p> <p>'Script' param in plugin config points to Java Servlet on backend and it's done,but Servlet isn't triggered.</p> <p>error, when 'script' param isn't correct:<a href="http://img190.imageshack.us/i/errormm.png/" rel="noreferrer">http://img190.imageshack.us/i/errormm.png/</a></p> <p>Thank you for assistance.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload