I have a question for you guys.

I have a bean that has an ArrayList in it.

MyBean{
      private ArrayList theResults;
      
        public void setData (ArrayList x){
                this.theResults=x;
        }
        public ArrayList getData (){
                return this.theResults;
}

In my action I set the bean to the request.
httpServletRequest.setAttribute("gotcha", fb);

In the JSP page I want to display the values in the array.

Is this the correct syntax?

<nested:root id="a" name="gotcha" scope="request">
       <logic:iterate id="gotcha">
          <bean:write property="service_type"/>
          <bean:write property="service_type_description"/>
          <bean:write property="service_type_id"/>
       </logic:iterate>
</nested:root>


Thanks
        


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

Reply via email to