You are correct. In that case, <s:set name="someName" value="someName" scope="request"/>
is equivalent to calling request.put("someName",action.getSomeName()); in an Action that implements RequestAware. So when Display Tag processes <display:table name="someName" ...> The "someName" attribute is available when the JSP Tag Library (DisplayTag in this instance) calls pageContext.findAttribute("someName"); But you have to use the <s:set> (or put the value in the request from the action) for DisplayTag to see it. (*Chris*) On Tue, Apr 8, 2008 at 3:12 PM, Raghuveer Kumarakrishnan <[EMAIL PROTECTED]> wrote: > This doc seems to suggest that even request scoped data needs to explicitly > set using > <s:set....> to be used by tag libraries like jsp taglib or displaytag > > > http://struts.apache.org/2.x/docs/exposing-framework-objects-to-jstl-with-a-jstl-and-displaytag-example.html > > > But for request scoped data you do not need to explicitly set it as a > request attribute,just getters on the action will do ,so a tag library like > displaytag will work out of the box > > <display:table name="someName" ....> > ... > .. > > </display:table> > > where there is a getSomeName( ) method in the Struts2 Action class > > > Am I missing something or does the doc need to be updated? > > --Raghu > > > A Goal .......... Is a Dream with a Deadline > > --------------------------------- > You rock. That's why Blockbuster's offering you one month of Blockbuster > Total Access, No Cost. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]