Solved

convert html character code to normal character

Posted on 2006-10-27
3
1,153 Views
Last Modified: 2012-05-05
Is there an existing function in java that helps us to convert html character codes (eg: "&lt;", "&gt;" ) to normal character (eg: "<", ">")

I can solve the problem by hard coding the replacement, but I don't believe I'm the first man in the world want to do this, there must be a ready-to-use function for this !!
0
Comment
Question by:huyna
3 Comments
 
LVL 1

Expert Comment

by:cpa199
ID: 17818135
0
 
LVL 14

Accepted Solution

by:
hoomanv earned 150 total points
ID: 17818168
0
 

Author Comment

by:huyna
ID: 17848056
thanks about that :)
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

757 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

19 Experts available now in Live!

Get 1:1 Help Now