i am setting hash map in action class
parsingForm.setMap(map);
--------------------------------------
formbean is having fallowing methods
--------------------------------------
/**
* @return
*/
public HashMap getMap() {
return map;
}
/**
* @param map
*/
public void setMap(HashMap map) {
this.map = map;
}
/**
* @return
*/
public Object getStringMapped(
String key) {
System.out.println("inside parseingFormbean "+ map.get("name"));
return map.get(key);
}
/**
* @param map
*/
public void setStringMapped(String key, Object value) {
map.put(key, value);
}
------------------------------------
jsp --------------------------------------
<jsp:useBean id="bean" class="forms.parsingForm"/>
<bean:write name="bean" property="stringMapped(name)"/>
the out put is not showing any value
the debug statment in formbean is giving null value
can any one guide me in this regard ?
thanks in advance