Here is some of the code: Code from display JSP: (Similar code contained for my MassChange bean and TWCMC bean) <logic:equal value="Mass Delete" name="HeaderBean" property="operation"> Mass Delete Detail Information: <br><a href="AddMD.jsp">Add</a><br><br> <logic:iterate name="mdItems" id="mdLine"> <bean:write name="mdLine" property="line"/><br> </logic:iterate> </logic:equal>
Struts-config: <form-beans> <form-bean name="HeaderBean" type="com.moog.us.eos.beans.HeaderBean"/> <form-bean name="mcItems" type="com.moog.us.eos.beans.MassChangeItem"/> <form-bean name="mdItems" type="com.moog.us.eos.beans.MassDeleteItem"/> <form-bean name="twcmcItems" type="com.moog.us.eos.beans.TWCMCitem"/> </form-beans> <action path="/AddMC" type="com.moog.us.eos.actions.AddEntryAction" name="mcItems" scope="session" input="AddMC.jsp"> <forward name="edit" path="EditPage.jsp"></forward> <forward name="addMC" path="AddMC.jsp"></forward> </action> <action path="/AddMD" type="com.moog.us.eos.actions.AddEntryAction" name="mdItems" scope="session" input="AddMD.jsp"> <forward name="edit" path="EditPage.jsp"></forward> <forward name="addMD" path="AddMD.jsp"></forward> </action> (BLAH BLAH BLAH.....) <action path="/AddTWCMC" type="com.moog.us.eos.actions.AddEntryAction" name="twcmcItems" scope="session" input="AddTWCMC.jsp"> <forward name="edit" path="EditPage.jsp"></forward> <forward name="addTWCMC" path="AddTWCMC.jsp"></forward> </action> I know I could have combined the actions, but the way the app is set up I need to use separate beans for each form. The problematic beans are mcItems, mdItems, and twcmcItems. HeaderBean works fine. I don't suppose I could specify a scope in my form-bean declaration could I? Thanks in advance for any help ~ Keith -----Original Message----- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 10:07 AM To: Struts Users Mailing List Subject: RE: Cannot Find Bean? Can you send a few snips of your action-mapping and formbean from struts-config? Also the jsp code that's trying to access the bean. Thx James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Open Minded Developer Network" http://struts-atlanta.open-tools.org > -----Original Message----- > From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 18, 2002 9:58 AM > To: Struts (E-mail) > Subject: FW: Cannot Find Bean? > > > I just found out that all 3 beans I referred to in my original > message cause > the same error message at the same point. My main bean that is > used for the > form works fine though. I don't think I did anything different > with it than > I did with the 3 problematic ones. > AAAAHHHH!!! > I think the computer is going out the window :-) > > > > -----Original Message----- > From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 18, 2002 9:29 AM > To: Struts (E-mail) > Subject: Cannot Find Bean? > > > Hi everyone, > I'm having a little bit of trouble with one of my beans. I > have 3 nearly > identical beans, with a few different properties. They are all clearly > defined in my struts-config. I submit a form which corresponds to a 4th > bean, and if a certain checkbox is checked, some output is > printed from one > of the 3 beans. If I try to access my "twcmcItems" bean, I get an error > that says: > X Servlet Error: Cannot find bean twcmcItems in scope null: > javax.servlet.jsp.JspException: Cannot find bean twcmcItems in scope null > > Are there any common mistakes that I should check for? I'm sure you don't > have enough info to know why it's not working, but I'm not even sure where > to look for a mistake. Thanks for any help! > > Keith Kamholz > Moog > East Aurora, NY > (716) 687-7282 > [EMAIL PROTECTED] > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>