You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Warren Chen <wa...@yahoo.com> on 2003/12/22 23:12:13 UTC

javax.servlet.jsp.jspexception: cannot find bean xxx

Greetings!

I got this error in our aplication.

xxx actually is a request scope attribute, set in
action class, its value is a string.

The weird thing is that it happened only once - any no
matter how hard we tried, we cannot reproduce.

any suggestions will be appreciated!

Warren

code:

in jsp:
<bean:define id="myscript" name="scriptString"
scope="request" />

in action class:
request.setAttribute(Constants.SCRIPT_STR,
"abcdefg123");

where SCRIPT_STR is "scriptString"

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

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