ProcessHTMLEntities is not what you are looking for at all. What are you trying to achieve? If you read in the post with request.getParameter("EditorDefault") entities are decoded automatically.
No no, please re-read my post. getParameter decodes the parameter correctly. Any field value is automatically escaped due to form's enctype. This behavior is absolutely correct. You don't need the EscapeUtils. This is just overhead.
The fact is that when I do a String html = request.getParameter( "EditorDefault"); on server side (receiving the post from the form as declared in my previous message), what I get contains encoded entities. It looks like this : <li><strong>Député à la chambre des lords </strong><br />
Why ? So I suppose FCKEditor is sort of making html entities encoding using javascript on the client side ?!
Re: JAVA -jsp and html encoding
Re: JAVA -jsp and html encoding
Re: JAVA -jsp and html encoding
Re: JAVA -jsp and html encoding
Sorry, read too quickly.
The fact is that when I do a String html = request.getParameter( "EditorDefault");
on server side (receiving the post from the form as declared in my previous message), what I get contains encoded entities.
It looks like this :
<li><strong>Député à la chambre des lords </strong><br />
Why ?
So I suppose FCKEditor is sort of making html entities encoding using javascript on the client side ?!
How to bypass this behaviour? And why is it so ?
Re: JAVA -jsp and html encoding
http://docs.fckeditor.net/FCKeditor_2.x ... codeOutput
Re: JAVA -jsp and html encoding
Attachments: