Hi All,
Iam unable to setProperty for the method Hm(String st,Stirng st) pl help me the code is:
import java.util.*;
public classs beanclass
{
private HashMap hm=new HashMap();
public void setHm(Stirng st,String st1)
{
hm.put(st,st1);
}
public Map getHm()
{
return hm;
}
}
The jsp code is:
<html>
<body>
<jsp:useBean id="be" class = beanclass/>
<jsp:setProperty name="be" property=("first", "secon")/>
</body>
</html>
Thanks in advance
sankar