tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Oliva" <car...@pbsinet.com>
Subject Mimetype settings for Tomcat???
Date Wed, 11 Jun 2003 19:04:33 GMT
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:jason@jblinux.org] 
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message