struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: how do we pass in bean property to html attribute
Date Tue, 11 Sep 2007 14:46:19 GMT
From: pavan reddy <>
> when i use it normally it works , bean has no values 
> arises only  when i pass in the value to another tags 
> attribute. 
> attribute="'<bean:write name="bean" property="abc"/>'"

Then my original comment still stands: you cannot nest JSP tags (although Antonio is correct
that you have an unnecessary set of quotes).

See, this works:

<a href="<some:tag .../>">...

because <a.../> isn't a JSP tag, it's HTML.

This doesn't, AFAIK, and is not valid XML:

<some:tag foo="<some:otherTag.../>" .../>


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

View raw message