|
Hello everybody,
I don't sure I can use the integer type property
in the javaBeans.
Today ,I completed a simpe javaBean
and give a simple method.
See following:
---------------------------------------------------
int age;
public void setAge(String
person_age){
age=Integer.parseInt(person_age);
}
public int
getAge(){
return
age;
}
---------------------------------------------------
Unfortunately,following error msg
occurs:
<2002/7/27 �U��04��40��09��> <Error>
<HTTP>
<[WebAppServletContext(6922527,Defau
ltWebApp,/DefaultWebApp)] Servlet failed with Exception java.lang.NoSuchMethodError: com.sabrina.javabean.PersonInfo.setAge(Ljava/lang/String;) I was confused by this
NoSuchmethodError.
Why?Can't I use the int type property in this
javaBean.Pls help me.
Any help would be appreciated.
|
- Re: int type property in javaBean kongtao
- Re: int type property in javaBean Hiren Dossani
- Re: int type property in javaBean EswarChandu Nalluri
- Re: int type property in javaBean kongtao
- Re: int type property in javaBean EswarChandu Nalluri
- Re: int type property in javaBean Vikramjit Singh
