tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikola Milutinovic <Nikola.Milutino...@ev.co.yu>
Subject Re: Strange bean problem in JSP
Date Wed, 03 Apr 2002 21:06:26 GMT
Sayre Robert wrote:

> You should check the capitalization of your bean properties:
> is it "eMail" or "EMail"? 
> 
> the jsp tag: <jsp:setProperty name="dataBean" property="eMail"/>
> calling the set method: dataBean.setEMail( request.getParameter( "eMail" )
> );
> 
> I would try <jsp:setProperty name="dataBean" property="EMail"/>.
> 
> Robert Sayre

 From the bean class:

------------------------------------
protected String eMail;

public void setEMail(String EMail) {
   this.eMail = EMail;
}

public String getEMail() {
   return eMail;
}
------------------------------------

The capitalization seams OK. I'll try your suggestion.

Nix.


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message