You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by David Graham <dg...@hotmail.com> on 2002/10/28 17:33:31 UTC

Re: javax.servlet.jsp.JspException: No getter method for property Username of bean org.apache.struts.taglib.html.BEAN

Make sure your variable is named "username" and it has a getter named 
"getUsername" and a setter "setUsername".

David






>From: "Ananya Bhushan, Noida" <an...@noida.hcltech.com>
>Reply-To: "Struts Users Mailing List" <st...@jakarta.apache.org>
>To: struts-user@jakarta.apache.org
>Subject: javax.servlet.jsp.JspException: No getter method for property 
>Username of bean org.apache.struts.taglib.html.BEAN Date: Mon, 28 Oct 2002 
>21:14:11 +0530
>
>hi frnz,
>           I'm a newbie to struts so my question can be a bit novice.
>I'm trying to use the frame work to build a small login screen.
>i'm deploying it in weblogic 7.0.
>the war file gets deployed and on calling the login.jsp it gives me an
>error:--
>javax.servlet.jsp.JspException: No getter method for property Username of
>bean org.apache.struts.taglib.html.BEAN
>but in my login.jsp,loginaction.java and loginform.java the case 
>sensitivity
>is maintained correctly for the Username property.
>have i missed out on some mapping in some xml or properties file??
>wot can be the cause for the error??
>its urgent so nie sort of help wud be gr8 for me.
>thnx. in advance
>regards
>Ananya
>
>
>--
>To unsubscribe, e-mail:   
><ma...@jakarta.apache.org>
>For additional commands, e-mail: 
><ma...@jakarta.apache.org>


_________________________________________________________________
Internet access plans that fit your lifestyle -- join MSN. 
http://resourcecenter.msn.com/access/plans/default.asp


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>