Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

mime type in web.xml

 
Ashraf Fouad
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to override the behaviour of WebSphere virtual host in mime-type mappings:
I want to know how to define this in web.xml, specially the problem in having several extensions to the same mime type like the following example, plz supply example:
<mime type="video/mpeg">
<ext>mpg</ext>
<ext>mpe</ext>
<ext>MPEG</ext>
<ext>mpeg</ext>
<ext>MPG</ext>
<ext>MPE</ext>
</mime>
 
Ashraf Fouad
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The original problem:
is that I can't c the doc, ppt, jar files in WebSphere 3.5.5 they appear as garpage instead I want any file to be displayed if the cliet machine has it plugin as if Office was installed & to display save as dialog for other files as jar.
The strange thing is that .pdf files appear correctly & .zip files make the save as dialog appear but others display rubbish.
If anyone faced this problem & have solution for any type plz reply
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic