You should use a function to encode your text in HTML.
I didn't found it in the package (this is amazing) so you have to write it.
This function should look like this :
(it does the same thing of ASP's Server.HTMLEncode)
String HTMLEncode (String str)
{
String res = "";
if (str == null)
Not yet. I've been pressing Sun to include content-type translation into
the JSP spec.
-tg
- Original Message -
From: Winfried Klum <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 13, 1999 3:16 AM
Subject: Converting national characters to HTML
I'm using data from a
Hi Ilan,
thanks for your reply.
The problem is, I use the table data from my database in the jsp fashion
way '<%=myVariable%>' , so your solution will only work if I use your
method in conjunction with the PrintWriter out .
Mayby there's another more JSP conform solution.
Ilan Belehssen schrieb