Hello,  It's me again.  

Yesterday and this morning I posed a question about a <bean:define> tag
problem.  I was getting a Cannot find bean logonForm in scope null error.
Somebody told me that i was getting this error because I was accessing the
jsp directly.  Well, now I'm using a login.jsp which validates that I'm in a
database, if I am then it directs me to another jsp(f_Relocation.jsp).  In
this jsp, I have the <bean:define> tag.  The code is as follows:

In jsp:
<bean:define id="somebean" name="logonForm" property="selectBox1List"
type="java.util.ArrayList"/>

in struts-config file:
<form-bean name="logonForm"                     
        type="com.walmart.telecomorder.formbeans.RelocationForm" />

 <action path="/logon"
               type="com.walmart.telecomorder.formbeans.RelocationAction"
               name="logonForm"
               scope="session"
               input="f_Relocation.jsp" >
  
                  
                  <forward name="success" path="/success.jsp" />
                 
                  <forward name="failure" path="/failure.jsp" />
  
        </action>

Does anybody have an idea as to why I'm getting the following eror?
     Cannot find bean logonForm in scope null error

I thought that by going through the login.jsp (which invokes my
actionservlet) and being directed from it to the f_Relcoation.jsp, I would
avoid this error.
Can somebody help?

Thanks.

Jose Casas

E-Commerce Applications
(501) 277-3112
[EMAIL PROTECTED]





**********************************************************************
Notice:  The area code for the Wal-Mart General Office has 
changed from 501 to 479.  Please make sure that you are 
dialing 479 when making calls to any General Office location.

**********************************************************************
This email and any files transmitted with it are confidential
and intended solely for the individual or entity to 
whom they are addressed.  If you have received this email
in error destroy it immediately.
**********************************************************************

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to