Hello,
in m'y jsp i'm trying to compare a String link this
s:if test=#session.request._status != 'T'
but is not working, does anybody knows the sintaxis?
Thanks
--
View this message in context:
http://www.nabble.com/s%3Aif-comparing-a-string-tp19106286p19106286.html
Sent from the Struts -
What are you trying to compare with? A value in the session, or a
value in the request? Or do you actually have an object named request
with a _status property in the session?
Maybe these resources can help:
http://struts.apache.org/2.x/docs/tag-syntax.html
--- On Fri, 8/22/08, piltrafeta wrote:
in m'y jsp i'm trying to compare a String link this
s:if test=#session.request._status != 'T'
s:if test='#session.request._status != T '
Using single quotes around a single character will create a char, not a string,
like in Java.
Dave
Thanks you all guys !
I was trying to compare a String so using single cuotes solved my problem.
s:if test='#session.request._status != T '
Thanks again!!!
piltrafeta wrote:
Hello,
in m'y jsp i'm trying to compare a String link this
s:if test=#session.request._status != 'T'
but
4 matches
Mail list logo