struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michaël JERUSALMI <michaelj...@hotmail.com>
Subject Manipulating Strings with Struts²
Date Mon, 17 May 2010 14:52:03 GMT

Hi everyone,

I'm working on a Java Web App under Struts², and i'm having trouble using the taglib s:if.
I have a test <s:if>, but instead of writing a test like this <s:if test="string
== myValue">,
I'd like to write something like this : <s:if test="string.contains(myValue)"> , or
using a substring function
Do such functions exist ? How to use it ?
Thanks for your help.

Michael
 		 	   		  
_________________________________________________________________
Installez gratuitement les nouvelles Emoch'ticones !
http://www.ilovemessenger.fr/emoticones/telecharger-emoticones-emochticones.aspx
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message