Hi
If u want to escape characters in JSP use taglibs provided by
jakarta(ie http://jakarta.apache.org/taglibs/doc/string-doc/index.html#escape)
and if u want to escape String in java classes use commons-lang
package (api refeence is
http://jakarta.apache.org/commons/lang/api/org/apache/common
To the best of my knowledge, struts does NOT handle this. I have faced this
issue, as I'm sure many have. Here's the code I use to solve it... This is
simply a static method of a Helpers class I reuse throughout most of my
projects... I don't for a second claim it is the best answer, but it do
Wasn't sure this posted the first time, apologies if this winds up a
double-post...
To the best of my knowledge, struts does NOT handle this. I have faced this
issue, as I'm sure many have. Here's the code I use to solve it... This is
simply a static method of a Helpers class I reuse througho
To my knowledge, the escape mechanisms in the Struts custom tags only
handle characters that have special significance in HTML textual
content, not JavaScript. It may only escape '&','<', and '>'. If it
does escape "'" and '"' (I think it does), it escapes them as '''
and '"' respectively, ra
Hi all,
This is a javascript function that is being called when a button called
"Update" is pressed.
Now if the planTitle or verbalDescription has got any apostrophe(') then
it is throwing up a javascrit error that ) is expected.
Does not struts handle these type of characters like ',",/ etc.
D
5 matches
Mail list logo