Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

javax.servlet.jsp.JspException: Cannot find bean under name.. in struts app

843838Apr 10 2006 — edited Nov 26 2007
Hi friends,

Need a bit of your help.
would appreciate the same.

I have this in my JSP code:-
<html:select property="buId" styleClass="BTNdark" onchange="doSubmit('fetchCamp')">
<html:options collection="bulist" property="buId" labelProperty="buName"/>
</html:select>


and in the struts FileAction i am returning this:-
request.setAttribute("bulist", buList);
bulist is an arraylist of bean objects.

I cannot understand why i am getting this exception.
" javax.servlet.jsp.JspException: Cannot find bean under name bulist "

<WHEN it happens mainly>
One more thing, I have a search option in my page;

Now say two users enter two searches say 'A' and 'B'
on their browsers

When they press the search button (Almost at the same time)- one page loads with this exception and other loads fine.

And When the referesh button on the browser (which had exception) is clicked - The exception for that goes away and gives the results expected finely - as in other case.

I find this very weird - Please suggest something in regard to this.

Thanks,
Vishal
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 24 2007
Added on Apr 10 2006
8 comments
6,561 views