wood burning stoves*
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: escape special characters while rendering the values in JSF.