check your tld.
and make
<rtexprvalue>true</rtexprvalue>
instead of
<rtexprvalue>false</rtexprvalue>
bye
----- Original Message -----
From: "Dan Cancro" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 16, 2000 6:34 AM
Subject: Custom tag with variable parameter
> I have the following JSP that produces the error: "String not terminated
at
> end of line."
>
> <%@taglib uri="taglib.tld" prefix="wdc" %>
> <html>
> <head><title>JSP Page</title></head>
> <body>
> <%
> String phone = "555-1212";
> %>
>
> <wdc:PhoneNumber key="<%=phone%>" />
>
> </body>
> </html>
>
>
>
> This, however, works fine:
>
> <%@taglib uri="taglib.tld" prefix="wdc" %>
> <html>
> <head><title>JSP Page</title></head>
> <body>
>
> <wdc:PhoneNumber key="555-1212" />
>
> </body>
> </html>
>
> Any ideas?
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets