You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Doug <um...@myrealbox.com> on 2003/05/10 22:14:31 UTC

and "Cannot find bean XXX in any scope"

1.1RC1 - the docs say that <bean:define> will create a bean if it 
doesn't exist, but I keep getting the subject error, or "Cannot find 
bean XXX in scope request" if I specify scope "request".  Am I missing 
something obvious here?

Am running under WebSphere 3.5 if that makes a difference.

Doug


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


Re: and "Cannot find bean XXX in any scope"

Posted by Doug <um...@myrealbox.com>.
Doug wrote:
> 1.1RC1 - the docs say that <bean:define> will create a bean if it 
> doesn't exist, but I keep getting the subject error, or "Cannot find 
> bean XXX in scope request" if I specify scope "request".  Am I missing 
> something obvious here?
> 
> Am running under WebSphere 3.5 if that makes a difference.
> 
> Doug

Ok, maybe I am :-)  It just occurred to me that I probably misunderstood 
the docs.  I thought I could use the tag to get an existing bean from 
the specified context, or create one in that context if it wasn't 
already there.  Now I'm thinking that's not how it works.

Doug



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