Thank you. The problem was in the code to recibe the file en the servlet; not in the mime type.
-----Original Message----- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 12:19 PM To: Tomcat Users List Subject: Re: Mimetype settings for Tomcat??? On Thu, 12 Jun 2003 00:06, Carlos wrote: > am trying to upload a pdf file with a > servlet running in Tomcat (port 8080) but the file is uploaded as a > text file rather than pdf. This is probably caused more by your code within your servlet than Tomcat's configuration, have a look at this example for some pointers: http://www.oop-reserch.com/cross_servlet.html If you think you are doing everything correctly after that post the appropriate snippets from your code so the list can look at it. Regards, -- Jason Bainbridge http://jblinux.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
