> > the MultipartRequest class which you can find at > > http://www.servlets.com > > along with a complete example of how to do, namely > > http://www.servlets.com/jsp/examples/ch04/UploadTest.java . > > > > I have had some problems using this class, it seems that it in > > some cases doesn't upload the whole file, > >You see no errors, just partial file contents? That's odd. If that's >the case, it sounds like a web server bug. What server are you using? >Can you try things with the JSWDK and see if the files work with the >reference implementation? I've tried with both PWS (Microsoft Personal Web Server) and JRun's built-in webserver. Both of them create the bug. I don't see any error message(s), just partial file contents. Actually not even that. The files get corrupted and aren't able to open. Is there perhaps a limit in what types of files that can be submitted this way? Is only text files allowed? I've got the error when trying with ZIP's, JPEG's, EXE's - but not always (=hard to find the error :-( ). I'll try using the JSWDK and see what happens. Thanks! / Magnus +----------------------------------------------------------+ | The worst thing is not to get an offer I can't refuse. | | The worst thing is if I get an object I can't reuse! | +----------------------------------------------------------+ ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
Re: Uploading file to jsp/servlet
Magnus %ERR-PTR-NIL Pointer reference to NIL Mon, 26 Jul 1999 18:40:26 -0700
- Uploading file to jsp/servlet David Wall
- Re: Uploading file to js... Love Java
- Re: Uploading file t... Jason Hunter
- Re: Uploading file to js... Magnus %ERR-PTR-NIL Pointer reference to NIL
- Re: Uploading file t... Daniel Lopez
- Re: Uploading file to js... C.K. Lim
- Re: Uploading file t... David Wall
- Re: Uploading file to js... Pascal Houde
