I am using the following in an action form:



 public void setMap(Map map) {
   this.map = map;
 }

 public Map getMap() {
   return map;
 }

 public void setValue(Object key, Object value) {
   map.put(key,value);
 }

 public Object getValue(Object key) {
   return map.get(key);
 }


Yet, when I put setValue("test","TEST") into the session, I get the following exception from the attempted use of <html:bean name="formName" property="value(test)"/>:


  "No getter method for property value(test) of bean formName"

This is quite a surprise. Anyone know what is going wrong here? Sometimes the simplest things go wrong?

Michael


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



Reply via email to