Can someone suggest a good example of creating a jsp custom tag and using it?.
Actually i want to access a vector object at the request scope and tried to write a
tld and the class.
my tld has the attribute name
<mytld:out name="objectname"/>
and at in the tld handling class i tried like this
Vector vect=(Vector)pageContext.getRequest().getAttribute(name);
but the resultant vector is null
i hav the setName method like
public void setName(String name)
{
this.name=name;
}
the variable name has global scope
wat may b the problem. Or please suggest any example matching this context
Thanks
vinu