Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

problem running beans

  Asked By: Demyan    Date: Jan 12    Category: Java    Views: 623
  

i created JSP beans
but the problem is it is giving values for two methods

say getEmail()
getDivisioncode()
but it is giving null value for the thrid method

getCompany code()


i used it as
<input type="text" name="comcode1" size="20"
value="<%=user1.getCompanycode()%>">
//values r going in beans from other jsp file
& in the class file it is as

public void setCompanycode(String value)
{
comcode=value;
}

public String getCompanycode()
{
return comcode;
}
ur help will be highly appreciated

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on problem running beans Or get search suggestion and latest updates.




Tagged: