Error in my jsp
Hello i have this error and i don't know I do not know what that means
Attribute value "listLienDoc_"+i+"" is quot开发者_开发问答ed with " which must be escaped when used within the value
Thx..
Replace
<html:select styleId="<%="listLienDoc_"+i+""%>"
with
<html:select styleId='<%="listLienDoc_"+i %>'
I guess the problem is this statement: "<%="listLienDoc_"+i+""%>"
at least the +""
is useless - you can remove it.
And then put the complete argument value in '
instead of "
- may you should do this with all the other arguments to, because it is always better to not nest "
.
<html:select
styleId='<%="listLienDoc_"+i%>'
name="typeLien" property="listUtilitaireBean.typeLien"
value="<%=typeLien.toString()%>"
onchange="<%="changeList("+i+");"%>"
indexed="true">
On the other hand my you do it complete different:
<html:select styleId="listLienDoc_<%=i%>" ...
精彩评论