You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by tw...@sceptical.co.uk on 2001/12/19 23:09:26 UTC

Request Attribut and forward ??

Hello,

and thanks TWIC for the comments on large selection lists (by the way: where is the pager taglib?).

For the html:select and html:option I am using beans as describes in the struts-example. I've got a mask and a Form Action where I build the selection list. In the Action class I use a session.setAttribute("selectbean",list) and forward to the same mask. 
So far it works fine, BUT: I have a bad feeling to use session variables (because of the potential junk of memory..), so I want to use request variables with request.setAttribute("selectbean",list). But this doesn't work - I don't understand the reason. Isn't it a forward method which keeps the request parameters?
What is my misunderstanding?

Best regard and thanks
Thomas

>:-) As sceptical as one can be! (-:<



----------
Get a fun email address at http://another.com
COOL: Personalise a t-shirt with your name/email/slogan 
from 9.99 pounds. CLICK HERE http://another-shop.com