| Author |
upload redirect to error page with websphere5.0 setting
|
grace chow
Greenhorn
Joined: Oct 25, 2004
Posts: 13
|
|
Dear, I have tested the reason redirecting to an error page during upload may be due to the ENCTYPE="multipart/form-data.. As I have removed the ENCTYPE="multipart/form-data.. and it does not redirect to an error page. I wonder if there is anything I need to set in WEBSPHERE 5.0 so that it will enable ENCTYPE="multipart/form-data to receive the upload more constantly so that it work normally without redirect to error page. thanks for your kind attention. Rgds, function SaveForm() { if(validate()) { document.form2.mode.value = "save"; document.form2.action = "uploadEngine.jsp"; document.form2.submit(); } } <form name="form2" method="post" action="" class="form" ENCTYPE="multipart/form-data"> <table> <tr> <td class="Arial10" colspan="2"> </p> <input type="file" name="upfile"> </td> </tr> <tr> <td width="20%"> <input type="button" name="Save" value="Save" onKlick="SaveForm()"> </td> <td width="80%"> </td> </tr> </table> </form>
|
 |
 |
|
|
subject: upload redirect to error page with websphere5.0 setting
|
|
|