aspose 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 Spring in Action this week in the Spring 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: 194
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: 14272
    
  21

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 8 API documentation
ajse ruku
Ranch Hand

Joined: May 06, 2005
Posts: 194
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