Thanks a lot for the reply. I could solve the problem Thanks Srilatha
>>> [EMAIL PROTECTED] 06/09/04 12:39PM >>> Srilatha, By placing the 'list' in the session you can access it by name ... the Struts tags search the JSP scopes (page->request->session->application) if the scope is not explicitly specified ... the following link for the 'bean' taglib has a lot of info about how the 'name' and 'property' attributes are resolved in Struts. http://jakarta.apache.org/struts/api/org/apache/struts/taglib/bean/package-summary.html#package_description For your specific needs you would do something like: <logic:iterate id="country" name="list" scope="session"> <bean:write name="country" property="countryName"/> </logic:iterate> Comprande? Srilatha Ravuri wrote: > Hi all, > I have a question about the logic:iterate tag. I have the following in my jsp page. > If I am not setting any attribute list like > > session.setAttribute("list", list) as I don't any action class forwarding to the jsp > page. > How do I grab the list into the jsp page if I have a class for countries list. Is it > through bean:define..... or through any java scriptlets. > > > <logic:iterate id=countries name=CountryBean property=list scope=session/> > <bean:write name=countries property=countryName/> > </logic:iterate> > > Thanks in advance > Srilatha --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]