tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leonard Bedner <gameco...@optonline.net>
Subject Re: Issue With SSI And JSP
Date Sat, 03 Oct 2009 14:46:45 GMT



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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message