struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicolas De Loof <nicolas.del...@cgey.com>
Subject [OT] JSTL : test the first char of a String
Date Tue, 23 Mar 2004 16:12:11 GMT
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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message