On Thu, Oct 14, 2010 at 5:40 PM, Antonio Sánchez wrote: > My <s:property value="myvalue" /> tag is not encoding Spanish > characters. In this case "myvalue" is a literal string from java source. > > String myValue = "EspaÑa"; > > I have: <%...@page contentType="text/xml; charset=UTF-8" > pageEncoding="UTF-8"%> > > My local http client outputs: "EspaÑa". > > What am I doing wrong? >
Escaping HTML. http://struts.apache.org/2.x/docs/property.html Dave