Solved

StringEscapeUtils.escapeHtml4  not escaping the HTML tags

Posted on 2014-11-19
2
590 Views
Last Modified: 2014-11-23
Hi,

Any one please tell me StringEscapeUtils.escapeHtml4("&nbsp"); is not working for me its not escaping ...

can you tell me why its not happen ?
0
Comment
2 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 40452104
 

Open in new window

is what you should get
0
 
LVL 35

Accepted Solution

by:
mccarl earned 500 total points
ID: 40453973
Your not after    StringEscapeUtils.unescapeHtml4(" ");   are you? That will return a single space character.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now