RE: [OT] JSTL : test the first char of a String

2004-03-23 Thread Pady Srinivasan



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   
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]



Re: [OT] JSTL : test the first char of a String

2004-03-23 Thread nicolas De Loof
I've found this way :

 

Not so pretty, but working !

Nico.

nicolas De Loof a écrit :

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   
attriibute to use : page or href.

-
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]


[OT] JSTL : test the first char of a String

2004-03-23 Thread nicolas De Loof
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   
attriibute to use : page or href.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]