tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Quoting problem
Date Tue, 06 Aug 2002 13:36:04 GMT

This is probably trivial, but nonetheles... :-)

I'm trying only to write a link's target if it actually exists or is
different than "_self". This is my code:

<%-- Save the link target window if necessary --%>
  <c:when test="${( == null) || ( == '') ||
( == '_self')}">
    <c:set var="target" value=""/>
    <c:set var="target" value=' target="${}"'/>

Unfortunately, in my link below which reads
<a href="<c:out value="${link.url}"/>"<c:out value="${target}"/>>

I get the following result when the page is created:
<a href="" target=&#034;_blank&#034;>

How can this be escaped when I don't use escapeXml?

Best regards,

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message