You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by Mike Cannon-Brookes <mc...@internet.com> on 2000/12/08 05:45:09 UTC

Am I right in thinking that this tag can only set String attributes?

Surely this is artificially limiting the usefulness of this tag? 

How about adding an optional value attribute:

<session:setattribute name="foo" value="<%= bar %>" />

This way you could set objects as well as just Strings? 

My $0.02 ;)

-mike

____________________________________________________________
Mike Cannon-Brookes - Technology Director, Asia Pacific
internet.com Corporation - The Internet Industry Portal 
Ph: (612) 9290 1088 - Mob: 0416 106090

- The Media Network @ http://australia.internet.com
- Meet A Guru @ http://www.breakfastforums.com.au
- Subscribe Online @ http://www.enewsletters.com.au
____________________________________________________________