Now the URL looks like, No extra amp;
http://localhost:8080/Samvidh_CIS/doEditAllergy.action?alId=2&alDescription=algy_full_desc&alName=algy_short_desc
Now the New problem is that, I am not able to retrieve the value of the key
though I am able to see the key.
Code in Action Class-
Map<String, Object> map =
ActionContext.getContext().getParameters();
Iterator entries = map.entrySet().iterator();
while (entries.hasNext()) {
Map.Entry entry = (Map.Entry) entries.next();
String key = entry.getKey().toString();
String value = entry.getValue().toString();
System.out.println("Key = " + key + ", Value = " + value);
}
Console Output.
Key = alDescription, Value = [Ljava.lang.String;@b90a6e
Key = alId, Value = [Ljava.lang.String;@b4b0a4
Key = alName, Value = [Ljava.lang.String;@5bcd91
Help Please...
--
View this message in context:
http://struts.1045723.n5.nabble.com/Separate-Java-Bean-Class-for-Getter-Setter-method-tp4385274p4407093.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]