What if you changed the outter quotes to single quotes? <hi:hello foo='<%= request.getParameter("users") %>' /> I don't know if that makes a difference, but worth a try anyway. <tataryn:craig/> Justin Kennedy wrote: > HI all, > > I'm trying to use a dynamic value for an attribute of my tag. but I'm > gettin this error: > org.apache.jasper.compiler.ParseException: > D:\jakarta-tomcat-3.2.1\webapps\mycompany\test.jsp(6,46) Attribute users > has no value at > org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java:499) > > Here's my tag entry in my tld file > > hi.tld > > <tag> > <name>hello</name> > <tagclass>mycompany.HelloTag</tagclass> > <bodycontent>JSP</bodycontent> > <attribute> > <name>foo</name> > <required>true</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > </tag> > > mycompany.HelloTag simply calls out.print(foo) > > Here's the JSP that generates the error. > <hi:hello foo="<%= request.getParameter("users") %>" /> > > users doesn't actually exist in the request but it should just return null > right ? > so when I change my jsp to this: > <% > String bar = request.getParameter("users"); > %> > <hi:hello foo="<%= bar %>" /> > > it prints out "null" and works just fine. > > Any suggestions ? > Thanx -- I've been trying to change the world for years, but they just won't give me the source code....
begin:vcard n:Tataryn;Craig tel;home:952-884-6752 tel;work:952-842-5576 x-mozilla-html:TRUE url:http://www.computer-programmer.org org:Compuware;Professional Division adr:;;3600 West 80th St. Suite 400;Bloomington;MN;55431;United States of America version:2.1 email;internet:[EMAIL PROTECTED] title:Senior Staff Analyst fn:Craig Tataryn end:vcard