I have a servlet which needs to be able to show the user the source of an
HTML file. In performing this same type function in other languages I simply
read the text and converted the characters to their & equivalent. For
example, <HTML> would become &lt;HTML&gt;

I was wondering if there is an easier way to accomplish this task? If not,
does someone have, or know of, existing Java code to do the conversions?


--------------------------------------------------
Jay Macarty - Technical Specialist
Phone: (972) 591-7385

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to