| Author |
mime type in web.xml
|
Ashraf Fouad
Ranch Hand
Joined: Oct 07, 2001
Posts: 80
|
|
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
SCJP 1.2, SCBCD 5
|
 |
Ashraf Fouad
Ranch Hand
Joined: Oct 07, 2001
Posts: 80
|
|
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
|
 |
 |
|
|
subject: mime type in web.xml
|
|
|