Our legacy code use Java directly inside JSP. I cannot use EL. I got a problem here:
<jbo:DataSource id="dsyn" appid="AM_Quebec" viewobject="YesnoView1"
whereclause='<%="yesno.yn_lang="+locale%>'>
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.
which produces
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.