posted 17 years ago
Yes it does matter
In case I: <mine:advice user="${userName}" />
It will not matter, but
In Case II: <mine:advice user='<%= request.getAttribute("username") %>' />
It would matter
Because in this case if you use
<mine:advice user="<%= request.getAttribute("username") %>" />
the compile would not know that for which is the starting " & which is the ending ", so in such cases, you need to use certain delimiters like for exam, for using "" you might do something like\
<mine:advice user="<%= request.getAttribute(\"username\") %>" />
shashank
SCJP 1.4, SCWCD 1.4, SCBCD 1.5, TOGAF 9, Comptia Cloud+