>
> I'm unable to use setProperty with any of my beans with tomcat, it worked
> under jserv so I know my beans have the correct mutators.
>
> <jsp:useBean id="conn" class="wiBeans.ConnectionBean" scope="session" />
>     <jsp:setProperty name="conn" property="username" />
>     <jsp:setProperty name="conn" property="password" />

misses param="inputnamefromform" !

>
> generates this error message:
> org.apache.jasper.JasperException: Can't find a method to write property
> 'username' in a bean of type 'wiBeans.ConnectionBean'
>
> but in my ConnectionBean class I have the method:
> public void setUsername(String str) {
>     username = str;
> }

no parameter "could be resulting" in an access to
public void setUsername() {}


>
> the ConnectionBean.class file is placed in
> webapps/wi/WEB-INF/classes/wiBeans

is ok, WEB-INF/classes/ is the correct path , which is added to each webapp
before excuting it.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to