You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by su...@oas.com.om on 2003/10/01 05:35:50 UTC

RE: No bean specified

Thanks all, the problem was solved.

I had the same name attribute for the <html:image> in two different pages.
When I changed one of those, the exception vanished..though I didn't know
the reason.
I think the message provided is quite misleading..

sujith.

-----Original Message-----
From: Caroline Lauferon [mailto:caroline.lauferon@cgey.com] 
Sent: Tuesday, September 30, 2003 5:48 PM
To: Struts Users Mailing List
Subject: Re: No bean specified


or maybe you didn't define which bean to use for this action (name parameter
of action in struts-config)

Hope it helps....

Caroline

----- Original Message -----
From: "Mike Jasnowski" <mj...@bea.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Tuesday, September 30, 2003 3:38 PM
Subject: RE: No bean specified


> This generally means that somewhere you named a bean, either in a tag 
> or a call to some BeanUtils method. However the bean name specified 
> could not
be
> located, perhaps it's in the wrong scope, perhaps it's using a wrong 
> value for the "name" attribute on a tag.
>
> -----Original Message-----
> From: sujithp@oas.com.om [mailto:sujithp@oas.com.om]
> Sent: Tuesday, September 30, 2003 6:36 AM
> To: struts-user@jakarta.apache.org
> Subject: No bean specified
>
>
> Hi all,
> Does anybody know what causes this exception??
>
> javax.servlet.ServletException: BeanUtils.populate
> org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1254)
>
>
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.j
> ava:821)
>
>
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482
> )
>
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>
>
> java.lang.IllegalArgumentException: No bean specified
>
>
org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUti
> ls.java:837)
>
> org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:934)
> org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
> org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1252)
>
>
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.j
> ava:821)
>
>
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482
> )
>
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org