Hello, I have the same problem.
any one knows the solution?
Thanks!
KwonNam Son <[EMAIL PROTECTED]> wrote:
Hello,
The following is a fragment of my JSP.
<f:form>
blah... blah...
<h:commandLink rendered="true" id="lnkTemplateUpdateAction"
action="notificationTemplateUpdate" immediate="true" charset="utf-8">
<f:param name="templateName" value="#{data.templateName}"/>
<h:outputText value="#{data.templateName}" />
</h:commandLink>
blah.. blah...
</f:form>
I use f:param and value can be unicode(I use UTF-8).
Whern data.templateName is only english characters, there is no problem.
But, if there are unicode characters, a problem shows up.
When the action page take the prameter (using ExternalContext
.getRequestParameterMap())
the value comes out like this : 엔진에러
But what I expected is : %EC%97%94%EC%A7%84%EC%97%90%EB%9F%AC
(I use encoding servlet filter)
How can I make JSF encode parameters like %EC%97%94%EC%A7%84%EC%97%90%EB%9F%AC
??
Thanks,
KwonNam.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com