| Author |
when we need to fill MIME-MAPPING in web.xml?
|
yamini nadella
Ranch Hand
Joined: Apr 13, 2004
Posts: 257
|
|
I am able to use response.setContentType("text/HTML")...and for MSWord..Excel... without entering <MIME-MAPPING> in web.xml. So when we get a need to fill <MIME-MAPPING> in web.xml?
|
 |
Subha Gummadi
Greenhorn
Joined: Jun 30, 2004
Posts: 2
|
|
When you say response.setContentType(...), it will be applicable to only that JSP/Servlet where you have that response object.... But if you want to define mime-mapping at the Web container level, you can define in the web.xml file... (applicable to all the Servlets/JSP ). Hope this is clear.
|
 |
 |
|
|
subject: when we need to fill MIME-MAPPING in web.xml?
|
|
|