Hi ,
I hv created virtual directory and when i m applet_http.html , after selecting file i m getting error Uploading : Book1.xls
(23,552 bytes)
Upload started ...Server error HTTP/1.1 405 Method not allowed.
And My Javascript setting are are.
document.writeln('<PARAM NAME=CODE VALUE="jfileupload.upload.client.MApplet.class">');
document.writeln('<PARAM NAME=CODEBASE VALUE="./">');
document.writeln('<PARAM NAME=ARCHIVE VALUE="lib/jfileupload.jar,lib/httpimpl.jar,lib/chttpclient.jar,lib/clogging.jar">');
document.writeln('<PARAM NAME=NAME VALUE="fileupload">');
document.writeln('<PARAM NAME="type" VALUE="application/x-java-applet;version=1.4">');
document.writeln('<PARAM NAME="scriptable" VALUE="true">');
document.writeln('<PARAM NAME="url" VALUE="http://localhost/jupload2.6/upload/process.jsp">');
document.writeln('<PARAM NAME="paramfile" VALUE="uploadfile">');
document.writeln('<PARAM NAME="param1" VALUE="todo">');
document.writeln('<PARAM NAME="value1" VALUE="upload">');
document.writeln('<PARAM NAME="mode" VALUE="http">');
Please help me.
I want to add this in my asp.net application for Demo.
I m using trail version 2.6.
Plz suggest.
Regards,
Pady
Server error HTTP/1.1 405 Method not allowedRe: Server error HTTP/1.1 405 Method not allowedFor ASP.NET you need install ASP.NET script on server-side to handle upload requests:
http://www.jfileupload.com/products/tools/index.html Then you have to update "url" parameter in the JavaScript accordingly. Does it help? Re: Server error HTTP/1.1 405 Method not allowedI have the same error, but I'm not using ASP.NET.
I'm using Oracle on a windows server... Does anybody know what the problem is? Or do you need more info? Re: Server error HTTP/1.1 405 Method not allowedWhich server-side script are you using to handle upload?
Re: Server error HTTP/1.1 405 Method not allowedWe have a windows server with Oracle (APEX).
Re: Server error HTTP/1.1 405 Method not allowedI don't know how Oracle server work but I guess you've installed a script to handle upload request, correct? Is it JSPUpload?
Re: Server error HTTP/1.1 405 Method not allowedYes, there was a JSPUpload installed (and we just moved everything to the other server).
We use an Oracle database and an apache server. Re: Server error HTTP/1.1 405 Method not allowedok, could you try http://yourserver.com/something/process.jsp in your browser?
You should see a simple HTML upload form, try to upload a file from it and see if it works. If not then it cannot work with the applet. |