Try this:
<s:if test="workNodeName.matches(\".+\")">

2010/12/23 Colin Freas <colinfr...@gmail.com>:
> I'm trying to use a regex in the test of an if tag.  The object in the test
> is a String, so I'm trying this, and it isn't working:
> <s:if test="%{workNodeName}.matches(\".+\")">
>
> Is this possible?  Is there another way to do this?
>



-- 
Maurizio Cucchiara

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to