web.xml In the file < mime mapping >

common MIMEND-type

Sub-text-to-text-to-htm, html text/html
normal .txt text/plain
RTF-text .rtf application/rtf
GIF image .gif image/gif
JPEG image .ipeg., jpg image/jpeg
audio files .au audio/basic
MIDImusic files between, midi audio/midi,audio/x-midi
RealAudioMusic file .ra, .ram audio/x-pn-realaudio
MPEGfile .mpg., mpeg video/mpeg
AVIFILE .avi video/x-msvideo
GZIPfile .gz application/x-gzip
TARfile .tar application/x-tar

<mime-mapping&>

<mime-type&>application/ vnd.ms -word </mime-type&>

</mime-mapping&>

<mime mapping&>

<mime-type&>application/msexcel</mime-type&>

</mime-mapping&>

<mime mapping&>

<mime-type&>application/ vnd.ms -powerpoint</mime-type&>

</mime-mapping&>

<mime mapping&>

<extension&>docx</extension&>

<mime-type&>application/ vnd.openxmlformat – officedocument.wordprocessingml.document&lt ;/MIME-type&>

</mime-mapping&>

<mime mapping&>

<mime-type&>application/ vnd.openxmlformat – officedocument.presentationml.presentation&lt ;/MIME-type&>

</mime-mapping&>

<mime mapping&>

<mime-type&>application/ vnd.openxmlformat – officedocument.spreadsheetml.sheet< ;/MIME-type&>

</mime-mapping&>

Similar Posts: