X32Form is the name of your java class, not the bean. You get the name of
the bean from the "name" attribute of your action mapping.

Paul

On 9/12/07, msg2ajay <[EMAIL PROTECTED]> wrote:
>
>
> hi,
>         i am trying to get the collection object (Vector)  form Action
> Class
> to my Jsp. I already set to my FormBean and i am getting an error as..
>
> javax.servlet.jsp.JspException: Cannot find bean: "X32Form" in any scope
> my Action class is (X32Action.java):
> ------------------------------------
> Vector lableGenVect = (Vector) xParser.xmlLableGen (Comm_vect);
> form.setLableParam (lableGenVect);
>
> my FormBean Class is (X32Form.java):
> ------------------------------------
>     public Vector getLableParam(){
>         return lableParam;
>     }
>     public void setLableParam(Vector lables){
>         this.lableParam = lables;
>         System.out.println("X32 FORM __________"+lables); // I am able to
> set ie. i can print the values of the action class.
>     }
>
> my jsp:
> ---------
> <logic:iterate name="X32Form" id="lableParam">
>                 <tr>
>                     <td>
>                         <bean:write name="X32Form" property="lableParam"/>
>                     </td>
>                 </tr>
> </logic:iterate>
>
> thanQ,
> Ajay
> --
> View this message in context:
> http://www.nabble.com/problem-with-%3Clogic%3Aiterate...-tf4433312.html#a12647969
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to