Forums Register Login
Uploading Using AppletFile
When trying :
com.oreilly.servlet.MultipartRequest l_MultipartRequest = new MultipartRequest (p_Request,
I got :
java.io.IOException: Corrupt form data: no leading boundary
The problem is that I used the AppletFile : FileUpload Applet at my JSP ( designed by InfoMentum ) which generates RFC-1867 Request
The following is the code at JSP :
<form name="uploadForm" action="/Upload/UploadServlet/Start" enctype="multipart/form-data" METHOD="POST">
<applet code="FileUpload.class" archive="FileUpload.jar" width="420" height="64" name="FileUpload" mayscript VIEWASTEXT id=Applet1>
<param name="cabbase" value="FileUpload.jar">
<param name="filter1" value="All files (*.*)">
<param name="file1" value="c:\yasser.txt">
<param name="noFileList" value="false">
<param name="bgColor" value="#000080">
<param name="directory" value="c:\">
When using : <INPUT TYPE="FILE"> the MultipartRequest can be instantiated using the coming request
What is the Problem in he Case of the AppletFile ?
* you can download the AppletFile from http://www.infomentum.com/products/download.asp
and choose AppletFile 2.5 zip
Does AppletFile generates RFC-1867 standard Stream ?
Infomentum said that, Why it does not work in J2EE environment ?
Welcome to the JavaRanch! Please adjust your display name to meet
the JavaRanch Naming Policy. You can change it here.
and welcome to the JavaRanch!
Last warning.
Thank you.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards

All times above are in ranch (not your local) time.
The current ranch time is
Oct 19, 2017 18:19:47.