I'm not sure of the forum this should be in, but thought I'd be safe to start in this one.
I have a JSP that displays string values in HTML input elements. In the code, we enclose the value in double quotes so that string values containing spaces are properly displayed. This was all fine n dandy until someone tried a string containing double quotes. The value displayed would then cut off at the first double quote, since it would see that as the closing quote.
The JSP code in question.
If anyone has any ideas/information on this, I'd appreciate it.
What Bauke said. But even if you do use scriptlets, what's with the out,prints to emit HTML? That's completely inside-out. The whole purpose of using a JSP is to be able to place the HTML in template text rather than build it up in Java.