It doesn't wreck the rest of my servlet environment. If I try to upload a text
file, it works fine, but a binary file gives the error.
On Wed, 26 Jan 2000, you wrote:
> You know what? I'm a newbie to servlets and I got the same error when one
> of my servlet threw an exception. Then I kept on getting that same error
> when I tried to access other servlets that I KNOW works. I tried restarting
> the Apache Server and still got the same error. I had to save my properties
> and conf files and reinstalled JServ.
>
> If you happen to come across a more elegant solution please let me know!
> Sorry I can't be anymore help...
>
> Thanks,
> Brandon
>
> -----Original Message-----
> From: Daniel T. Gynn [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 26, 2000 1:06 PM
> To: JServ Email List
> Subject: File Uploads
>
>
>
> I am trying to implement a small file upload servlet. I got it to work with
> normal text files, but if I try to upload any type of binary file, I get an
> Internal Server Error. The form is defined as:
> <FORM enctype="multipart/form-data" method=post action="/meter/UploadFile">
> Add File: <INPUT type=file name=newFile>
> <INPUT type=submit value="Upload">
> </FORM>
>
> Even if I change the servlet to a simple HelloWorld servlet, I still get the
> Internal Server Error.
>
> Thanks,
> Dan
>
> --
>
> -----------------------
> Daniel T. Gynn
> Essential Systems, Inc.
> 412-931-5403
> fax: 412-931-5425
> [EMAIL PROTECTED]
>
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
--
-----------------------
Daniel T. Gynn
Essential Systems, Inc.
412-931-5403
fax: 412-931-5425
[EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]