struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mitch Claborn <>
Subject tag syntax question
Date Thu, 23 Jul 2009 23:01:09 GMT
I'm a big confused about the syntax in struts tags.  For example, I have
the following:

<s:set var="category" value="display.category" />
<s:set var="you_are_here_path" value="#category.path" />

"display" is a property on the action.  The first one does not need the
#, but the second one does.  Why?  What does the # signify?

Some tags seem to need the ognl construct %{.....}.  What are the rules
around when this construct is needed as opposed to one of the others above?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message