tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Collins, Jason)
Subject RE: Scriptlet expressions in custom JSP tags
Date Fri, 07 Apr 2000 21:13:10 GMT

The following URL:

indicates the rtexprvalue tag for a custom JSP tag. Setting this to true indicates that the
particular attribute of a
JSP tag supports run-time evaluation of the value of that attribute.

It seems that this is pretty unambiguously defined in the JSP 1.1 spec. Why would it enter
into discussions of the next
spec? Or am I misunderstanding?

I can't think of a work-around, can you suggest one?


-----Original Message-----
From: Anil K. Vijendran []
Sent: April 7, 2000 2.56p
Subject: Re: Scriptlet expressions in custom JSP tags

Hi Jason,

I was just talking to Mandar <> who's trying to fix it. You have run
into an
interesting case which the spec is not clear about. All the spec says is that an attribute
either be a translation-time value or a value that can be computed at request-time. What you
trying to do is a value that has a part in it which is an expression (or a request-time value).

I can see this might be useful. What I'd suggest you do is for now find a workaround. One
of us
can bring this up for discussion in the next version of the JSP spec.

"Collins, Jason" wrote:

> I need to use scriptlet expressions in my custom JSP tags:
>   <p2:a href="foo.html?pk=<%=pk.toString()%>">Link</p2:a>
> Is this possible? It doesn't seem to work at all. I have the following entries in my
>   <tag>
>     <name>a</name>
>     <tagclass>com.point2.phoenix.web.tag.Anchor</tagclass>
>     <bodycontent>JSP</bodycontent>
>     <attribute>
>         <name>href</name>
>         <rtexprvalue>true</rtexprvalue>
>     </attribute>
>     <attribute>
>         <name>target</name>
>         <rtexprvalue>true</rtexprvalue>
>     </attribute>
>   </tag>
> Thanks,
> j
> ===========================================================
> Jason Collins                            Phone 306.955.1855
> Information Systems Manager                Fax 306.955.0471
> Point2 Internet Systems            
> ===========================================================
> --------------------------------------------------------------------------
> To unsubscribe, email:
> For additional commmands, email:

Peace, Anil +<:-)

To unsubscribe, email:
For additional commmands, email:

View raw message