> remove logic present.
> it works.
> 
> by the way how can you get that list(hmUserPrijenosList) back in action from
> the request.i have that problem.
> is there any way to get that in the action class.
> 
> cheers.
> 

After removing logic present everything is still the same :-(

answer to your question:

before population jsp page i go to action class and there is this code:

                HashMap hmUserData = new HashMap();

                
                // this i get from database
                hmUserData.put("user-podatak-0-0", "Gotovinski");               
                                       
hmUserData.put("user-podatak-1-0", "Stambeni");                                 
                hmUserData.put("user-podatak-2-0", "Auto");
                hmUserData.put("user-podatak-3-0", "Stambeni uz investicijske 
fondove");

                List list = new ArrayList(hmUserData.size());

                for(int i = 0; i < hmUserData.size(); i++)
                {
                        HashMap hmUserPrijenos = new HashMap();
                        
                        hmUserPrijenos.put("user-podatak-1-" + 0, 
hmUserData.get("user-podatak-" + i + "-0"));
                        hmUserPrijenos.put("user-podatak-2-" + 0, 
hmUserData.get("user-podatak-" + i + "-0") +
"IndikatorIzvrsenja");  

                        list.add(hmUserPrijenos);
                }

                if (list.size() > 0)
                {
                        session.setAttribute("hmUserPrijenosList", list);
                }

after i put this value in session i can get that anywhere in application.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to