Mark Thomas wrote:
>
> Leonard Bedner wrote:
>>>> <init-param>
>>>> <param-name>contentType</param-name>
>>>> <param-value>text/x-server-parsed-html(;.*)?</param-value>
>>>> </init-param>
>
> Leave this as is.
>
>> Perhaps I am just not understanding how to use the content type, most
>> likely
>> because I do not know anything about regular expressions. In short, how
>> do I
>> set the content type for jsp?
>
> At the start of your JSP add:
> <%@ page contentType="text/x-server-parsed-html; charset=UTF-8" %>
>
> Adjust the charset if you need to.
>
> Mark
>
>
Thanks, Mark. That worked perfectly.
--
View this message in context:
http://www.nabble.com/Issue-With-SSI-And-JSP-tp25707397p25729472.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org