*
The moose likes Servlets and the fly likes upload redirect to error page with websphere5.0 setting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "upload redirect to error page with websphere5.0 setting" Watch "upload redirect to error page with websphere5.0 setting" New topic
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%">&nbsp;

</td>
</tr>



</table>
</form>
 
wood burning stoves
 
subject: upload redirect to error page with websphere5.0 setting
 
Similar Threads
upload redirect to error page
How to move a video file(*.flv) from a directory to another directory
Ajax javascript not recieving responseText from Struts
multipart/form-data inputs
Getting "not a multipart request" even though the image is being saved.