Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Special characters in a putList ?!?  RSS feed

 
Emmanuel Labrecque
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want my users to be able to put some basic HTML as input. This HTML, I would like to put it in a list with the "add" tag of a putList. Then, with a <c ut>, show this HTML as it is!
I tried with < and the escapeXml is rendering correctly ... but not interpreting the HTML.
My problem is that I cannot put HTML code in the "add" tag without receiving this error :
[ServletException in:menu_gab.jsp] /menu_gab.jsp(139,97) jsp.error.unterminated.tag'
Is there some one with an idea?
N.B.:Sorry for my english!
 
Emmanuel Labrecque
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry everyone! I found my problem. The error was not related to the input of the HTML but from somewhere else. The escapeXml="false" is working fine.
Sorry again
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!