struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Sánchez <inganto...@gmail.com>
Subject Re: Encoding in <s:property>
Date Fri, 15 Oct 2010 14:23:34 GMT
Testing a servlet that forwards to a simple JSP using standard JSP.

   request.setAttribute("myValue", "EspaÑa");

getServletContext().getRequestDispatcher("/myJSP.jsp").forward(request,
response);

---

  <%= request.getAttribute("myValue") %>

It works. 

Why <s:property> is not encoding properly? Is it a bug? What can I do? 

My application requires correct UTF-8 encoding.

Thanks.




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message