struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milan Milanovic <milanmilanov...@yahoo.com>
Subject Re: about iterating values
Date Mon, 14 Jul 2008 19:05:49 GMT

Hi,

you can save it into session and use it to display on jsp page.

--
Milan


hns wrote:
> 
> hi
> 
> it might be this question is not related s2 but still i want to ask
> 
> i am using one public function in one class which get key,value pair from
> database query fire and fill in linked hashmap
> and return iterator to access on jsp page
> 
> i have used jsp:usebean of this class to get access public function which
> iterate data in page scope
> for  my select box
> 
> now i have to ask 
> when i refresh or redirect this page ,every times Map will get details
> from database ,so at  codebehind database accesss happens so many times 
> when i refresh or redirect it,
> 
> how can i solve this issue
> now 
> 

-- 
View this message in context: http://www.nabble.com/about-iterating-values-tp18444913p18450811.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message