Our legacy code use Java directly inside JSP. I cannot use EL. I got a problem here:
whereclause=''>
For the whereclause, what I really want is like this:
String yesno_wc = "yesno.yn_lang='" + locale + "'";
Anybody knows how to put the yesno_wc in the where clause? Thanks
解决方案
In Java you can escape double quotes with a backslash.
I might first store that value, here is an example JSP storing the value in a scriptlet, then using a tag with a JSP expression as the value.