struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michaël JERUSALMI <>
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.

Installez gratuitement les nouvelles Emoch'ticones !
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message