Multipart Problem

"Alex Yakushev" <[email protected]>
Newsgroups gmane.comp.java.enhydra.general
Message-ID <001001c31c01$600d3850$3065a8c0@mrroboto>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.