tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan" <ni...@studioweb.com>
Subject Re: Is there a way to call java.lang.String.substring on a <c: out ?
Date Fri, 11 Oct 2002 04:13:55 GMT
So I would wrap the <c:out  value="${}}"/> tag with a JSTL string taglib or
perhaps a bean method that returns a string like so:

<%=  myBean.myStringMethod(<c:out  value="${param.name}}"/>) %>


Thanks


----- Original Message -----
From: "Shawn Bayern" <bayern@essentially.net>
To: "Tag Libraries Users List" <taglibs-user@jakarta.apache.org>
Sent: Thursday, October 10, 2002 11:36 PM
Subject: Re: Is there a way to call java.lang.String.substring on a <c: out
?


> On Thu, 10 Oct 2002, Stefan wrote:
>
> > So is there a way to extract a sub string from the result of a <c:out
> > value="${}}"/> tag?
>
> No, not alone; you'd need to use the String Taglib or handle it with a
> servlet or other custom Java logic (e.g., a bean or servlet).
>
> --
> Shawn Bayern
> "JSTL in Action"   http://www.jstlbook.com
>
>
> --
> To unsubscribe, e-mail:
<mailto:taglibs-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:taglibs-user-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message