This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

upload redirect to error page with websphere5.0 setting

 
grace chow
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic