Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Convert special characters to html entities

843841Jul 4 2003 — edited Jul 7 2003
Does anyone have a code that does that?
I'm having problems reading strings from a database and print on my browser.
The html code is written incorrectly on the browser beacuse of the special characters.

So, i'll have to write a code the reads the database, searches the string for special characters and replace it for the html entities.

Any chance of somebody having that code already?

Thanks to all.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 4 2003
Added on Jul 4 2003
6 comments
1,073 views