Never mind, I found the answer at http://java.sun.com/products/jsp/tutorial/TagLibraries16.html I just needed to put quotes around the <%=v%> part. -----Original Message----- From: Cancro Dan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 08, 2000 11:07 AM To: [EMAIL PROTECTED] Subject: custom tag with object attribute, close tag causes error It seems that custom tags that take object attributes and have both open and close tags causes the following error: "no corresponding open tag for tag extension close: " Here are the relevant snips from some sample parts: Tag library: <tag> <name>code</name> <tagclass>weblogic.examples.jsp.quote.CodeTag</tagclass> <attribute> <name>param1</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag> CodeTag class: public class CodeTag extends BodyTagSupport { private Vector param1; public void setParam1(Vector param1){this.param1 = param1;} } JSP: This works: <% Vector v = new Vector(); v.addElement("First Element"); %> <quote:code param1=<%=v%> /> This doesn't: <% Vector v = new Vector(); v.addElement("First Element"); %> <quote:code param1=<%=v%> > </quote:code> Any ideas why? Thanks. =========================================================================== 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