struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Van Wart <sc...@indosoft.com>
Subject Re: Can we specify variables in html form tags action attribute
Date Wed, 23 Aug 2006 22:00:49 GMT
Chetan Pandey wrote:
> pageContext.setAttribute(propertyaction,"propertyaction");%>
>   
pageContext.setAttribute() is a standard map-based pattern.  All of 
these use (key, value) and not (value, key) as you have above.  Swap the 
two arguments.

Remember your scope (third parameter).

- Scott

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


Mime
View raw message