This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes  escape special characters while rendering the values in JSF. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark " escape special characters while rendering the values in JSF." Watch " escape special characters while rendering the values in JSF." New topic
Author

escape special characters while rendering the values in JSF.

Purushotham Royal Pasupuleti
Greenhorn

Joined: Sep 15, 2009
Posts: 4
Hi Friends,

I have an issue in JSF combination of special charactres wtih backing bean. In test.xhtml page there is password text field. while entering data with special characters combination in password text box(eg::: !%55Card) in xhtml page, we are mapping with backing bean object, but in backing bean object value going as (!UCard) as encoded value. Please suggest me how we can prevent from this scenario.

Actual value in xhtml is !%55Card, but its going to backing bean value as !UCard intead of '%55' its decode as 'U'.

So, Could you please suggest me how to escape special characters while rendering the values in JSF.


Many Thanks.
Appreciate your help.


Purushotham Royal Pasupuleti,
Singapore
 
 
subject: escape special characters while rendering the values in JSF.
 
Similar Threads
<br /> or <br>
How to include an applet in JSF
json object send to JSF backing bean to xhtml page
JSF Expression Language and HTML
Page not getting submitted if my text box is not part of backing bean...