I have created JSP file tag as it is described here  
http://java.sun.com/javaee/5/docs/tutorial/doc/bnama.html

To get value of tag attribute 'someTagAttribute' I use this code:
<s:property value="%{#attr.someTagAttribute}"/>

OGNL context works fine within this file tag. But I realized that if there
will be an action property with the same name 'someTagAttribute' and value
for tag attribute will not be set, then the above code will return value of
action property as if it is the value of tag attribute.

How to get value of tag attribute directly from OGNL?
-- 
View this message in context: 
http://www.nabble.com/How-to-get-value-of-tag-attribute-from-OGNL--tp25862967p25862967.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to