struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vishalj <>
Subject How to pass NON-ASCII characters from one JSP to another JSP via ur <S:URL>
Date Mon, 31 Aug 2009 10:10:08 GMT

Hi all,
I use the following in my JSP code.
<%@ page language="java" contentType="text/html; charset=UTF-8"
and the URL looks something like this,
<s:url id="testUrlId" value="JackpotDetails.action">
 <s:param name="gameSeqId" value="%{gameSeqId}" />
<s:param name="gameCurrencyCode" value="%{gameCurrencyCode}" />	
<s:a href="%{testUrlId}"><s:property value="frmtdPoolAmount" /> </s:a>

Here gamecurrency code contains the value £ . But when its sent from browser
via <s:a href> its £ again but when its displayed on next page(Jackpot
Action/JSP) it displayed as £.
What i was able to infer is that our Browser(IE/FIREFOX,CHROME..) while
sending over the network its appending   Â to £.

Can any one help on this.How to pass NON -ASCII characters .

PS:Same UTF-8 encoding is used on all JSPs.

View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message