This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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 />-
wood burning stoves
subject: Encoding HTML Text