Re: How to retrieve value of hashmap parameter in action class

2006-06-12 Thread Richard Yee
Nikita, You need to change this: action="/ListAction.do" > to this: Then in your action, access the parameters using request.getParameter(String name) method with "var1", "var2", and "var3" as the values for name. -Richard Nikita Desai wrote: Hi, I have one problem regarding how to ret

Re: How to retrieve value of hashmap parameter in action class

2006-06-12 Thread Sony Thomas
Hi Nikita, Here is some code snippet which will help you. java.util.Map paramMap = new java.util.HashMap(); paramMap.put("id",id); paramMap.put("locationId",locationId); pageCo

How to retrieve value of hashmap parameter in action class

2006-06-12 Thread Nikita Desai
Hi, I have one problem regarding how to retrieve value of hashmap parameter action action of struts. In jsp page I have code like this <% java.util.HashMap params = new java.util.HashMap(); params.put("var1","1"); params.put("var2","10"); params.put("var3","1"); request.setAttr