DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30355>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30355

Character encodings in html tags





------- Additional Comments From [EMAIL PROTECTED]  2004-07-28 06:48 -------
Besides being a (quite reasonable) request for clarfication, the reporter is
confusing *filtering* of characters that are sensitive in HTML ('<', '&', and so
on) with *encoding* of characters for a particular character set.  The general
rule is that filtering is generally performed (by most Struts HTML tags) to
avoid the potential for cross site scripting attacks.  If you *really* know what
you are doing, you can turn this filtering off on some tags by saying things like:

  <bean:write filter="false" .../>

Character encoding, on the other hand, is established by the <%@ page %>
directive of the JSP page, completely independently of Struts.  If your users
have modern browsers, the following directive will deal with pretty much every
language:

  <%@ page contentType="text/html;charset=UTF-8" %>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to