This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Servlets and the fly likes Encoding HTML Text Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Encoding HTML Text" Watch "Encoding HTML Text" New topic

Encoding HTML Text

Adnan Memon
Ranch Hand

Joined: Mar 09, 2003
Posts: 32
is there any method in servlet API or J2SE API which encodes text.. means convert symbol to thier entity reference e.g < > etc which cause problems when html page is displayed
umer sadiq

Joined: Jun 21, 2004
Posts: 1
hi i m umer plz tell me what is J2EE

Lavern Matthew
Ranch Hand

Joined: Jun 05, 2004
Posts: 38

Matthew Wilson<br />-
I agree. Here's the link:
subject: Encoding HTML Text
It's not a secret anymore!