Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts Users »

Re: problem with html:text bean throwing exception

Daniel A. Torrey

2003-11-19

Replies:


> <html:text property="city" maxlength="50" size= "20"/>

If this is what's inside your <html:form> tag, and the ActionForm used in the
tag is an org.cs101.fdb.struts.form.AddLocationForm, does AddLocationForm
have getCity() and setCity() methods?

> is a really unclear error message. I don't get why it can't report what

Yup. I think that a lot of Struts error messages should be replaced with

"Your hair is on fire. Eat some pie."

Almost as useful, and entertaining, too...

-daniel

Quoting Gus Heck <gus.heck@(protected)>:

> Anyone else got ideas about why I am getting this exception?
>
> org.apache.jasper.JasperException: Cannot find bean
> org.apache.struts.taglib.html.BEAN in any scope
>
> It appears that I answered Carl's concern. I'm now on day number 2 of
> being completely stuck :(. I would like to officially complain that this
> bean it was looking for rather than sticking BEAN on the end...

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@(protected)
For additional commands, e-mail: struts-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.