struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lei.java@gmail.com" <lei.j...@gmail.com>
Subject OGNL and action property
Date Fri, 21 Dec 2007 16:22:11 GMT
Hi all,

What is an action property? I thought it is a private attribute in an action
class with its getter and setter methods but now I think it's wrong as I
defined such an attribute "brand" but it can't be used in OGNL: <s:if
test="#brand...">...

In the result page of the action, I can output value of the "brand" using
${brand} but how and where can I put the value into value stack so that I
can use OGNL to access it?

Thanks.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message