Matthew Fisher wrote:
what library does "fn" refer to?
-----Original Message----- From: Pady Srinivasan [mailto:[EMAIL PROTECTED] Sent: Wednesday, 24 March 2004 4:14 AM To: Struts Users Mailing List Subject: RE: [OT] JSTL : test the first char of a String
<c:if test="${fn:startsWith(url, '/')}">
Thanks
-- pady
[EMAIL PROTECTED]
-----Original Message-----
From: nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 11:12 AM
To: Struts Users Mailing List
Subject: [OT] JSTL : test the first char of a String
Hello,
I'm using JSTL and Struts-EL. I would like to test the first char of a String.
The string is a URL, and can be a path to some action on my webapp or any external URL.
I'd like to test if the url starts with '/' to select the <html:link> attriibute to use : page or href.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]