File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Apache MIME Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache MIME Problem" Watch "Apache MIME Problem" New topic
Author

Apache MIME Problem

ajse ruku
Ranch Hand

Joined: May 06, 2005
Posts: 193
Hi all,
My web application receives xml files through web service(Axis)and stores them on local filesystem.I am using tomcat 5.x behind apache 2.x web server.
The problem is that the "�", "�" characters inside xml are displayed as "??". Is it MIME type problem?

If yes then please suggest where i can provide valid mime types.

A different instance of the same application on different machine works fine.Thats why i am clueless why its not working.All the configuration are identical on both the machines.

regards,
ajse
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13868
    
  10

Originally posted by ajse roy:
The problem is that the "�", "�" characters inside xml are displayed as "??". Is it MIME type problem?

No, it is most likely a character set problem.

But the problem could be in a place you don't expect. What software are you using to look at the content of the XML file? Are you sure that the problem isn't in that software? Maybe it doesn't know what character set your XML file is in.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
ajse ruku
Ranch Hand

Joined: May 06, 2005
Posts: 193
if i open the xml through filezila then it looks like ??.
regards,
ajse
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache MIME Problem
 
Similar Threads
Mistakenly changed web.xml
warp conn prevents apache redirect
jpa2web with tomcat problem
Java to Display Data from Database
web.xml causes 404 error