This directive indicates that all responses with a Content-Typeheader of java-internal/parsedhtmlshould be passed to the ssinclude(server-side include) servlet. Why is this necessary? Without it, the ssincludeservlet would handle only static files with the .shtml extension. It would suffer from the same loophole: dynamically created pages containing the tag would be ignored. With this directive, any servlet can set its content type to java-internal/parsed-html, which causes the ssincludeservlet to handle its output. To specify that all text/htmlcontent is passed through Deblink, we need to add our own directive: text/html=Deblink You need to restart your server before this change can take effect. After making this change, all HTML content served by the server has its
This entry was posted
on Thursday, January 18th, 2007 at 12:17 am and is filed under servlet.
You can follow any responses to this entry through the RSS 2.0 feed.
Responses are currently closed, but you can trackback from your own site.