Hi Eric,
I have one concern regarding HTML post on Javaranch. Most of the time I face problem in posting html tags on Javaranch. Is this problem related to parsing html tags? Even the suggestion, which it gives, is not very helpful.
In my case, it says replace < with & lt; (without internal space) which I did, but still it was giving the same error with the same suggestion. Next it says problem could be using name cookie. There is no cookie used in my html code.
Problem was actually with onload attribute of body tag which you pointed out.
I faced a problem in using html tags in xml file. There is a mail tag that I have to use in an xml file. That mail tag is having certain mailing attributes like from, to, cc, subject and body.
In the body attribute, we want to use html tags. Since it�s an xml file so I have to escape < in the xml. There what I did is I used [ in the xml file instead of < tag. Then in
java code, I replaced all [ with < by regex
pattern in order to get correct html code.
Why Javaranch is not having that flexibility in posting HTML codes?
Warm Regards,
Naseem Khan