tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Drye" <sd...@atg.com>
Subject Re: <requestEncoding> tag
Date Wed, 19 Dec 2001 15:08:25 GMT
> The <fmt:requestEncoding value="UTF-8" /> tag performs the same function
as
> the following:
>
> <%@ page contentType="text/html;charSet=UTF-8" %>

There's a subtle difference.  The @page tag is compile time, where the
requestEncoding tag is runtime.  If you use the @page tag for anything but
UTF-8, you've just prevented yourself from sharing that page among different
languages (unless you also use the requestEncoding tag which makes the @page
declaration redundant).

Stephen Drye
Art Technology Group



--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message