Re: about iterating values
hns wrote: HI Thanks for reply but session is appropriate for large size map stored in it? it can works fine? It certainly *can* work. Whether the session is the best place to keep this data depends on the size of the list, how much it varies (if at all) between users, how often it changes, etc. You might be better off looking into a caching solution at the persistence layer level (e.g. Hibernate or whatever you use), or, perhaps, building a custom application cache at the application level (using something like ehcache). L. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: about iterating values
HI Thanks for reply but session is appropriate for large size map stored in it? it can works fine? please reply -- View this message in context: http://www.nabble.com/about-iterating-values-tp18444913p18458485.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: about iterating values
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
about iterating values
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-tp18444913p18444913.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]