Russell Neufeld wrote:
I'm still coming up the learning curve on Struts2, and I've come across something I can't explain. Hopefully you guys out there can help me understand this. I have a request parameter "status" set to "invalid" which I'd like to access from within a JSP. If I use the following line:

<s:property value="#parameters.status"/>

I see "invalid" written to the HTML, which is what I expect. However, if I try to use that in an expression, like this:

<s:if test='#parameters.status == "invalid"'>

   this always evaluates to false.

It might be interesting to see what the #parameters.status type is.

(That's a hint.)

Dave


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

Reply via email to