logo       

Multipart Problem: msg#00029

java.enhydra.general

Subject: Multipart Problem

HI,
 
I have a problem with the following code.
 
run (... comms) .... {
 
    com.oreilly.servlet.MultipartRequest mpRequest;
 
    try {

        mpRequest = new MultipartRequest( comms.request.getHttpServletRequest(), "temp" );
                    
        //process uploaded files
 
    } catch ( IOException ex ) {
        ex.printStackTrace();
        throw new ClientPageRedirectException( comms.request.getAppFileURIPath( "errorpage" ) );
    }
    throw new ClientPageRedirectException( comms.request.getAppFileURIPath( "successpage" ) );
}
 
Now the weird thing is that this works perfectly under Netscape, but in IE, when MultipartRequest throws an IOException because the uploaded file is too big, IE just goes to a page not found error.  Any ideas?
 
Alex
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise