• Post Reply Bookmark Topic Watch Topic
  • New Topic

EL and quotes

 
Ed Carrington
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my Tomcat 6.0.20 container, I have a form value that works great except if the user enters quotes in the form input. Anything in quotes wont show up.
For example if they enter: Here is the "info"
The form value would only show: Here is the

Input example that wont work with quotes:


If I use tick instead of quotes it works and shows anything in quotes:



Please advise why this is happening and if there is an alternate solution to this issue?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Think about what would be rendered if the EL expression had quotes.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65516
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you looked at what's being delivered to the browser?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!