struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: Why do we need the set/push tag?
Date Thu, 06 Jan 2011 12:39:50 GMT
Because you may have code that expects something else on the value stack,
like a JSP fragment or something.

 On Jan 6, 2011 5:55 AM, "maven apache" <> wrote:
> Hi
> I am learning the struts tag,however I can't understand why we need the
> set/push/bean tag?
> In my opinion,the views like jsp just need to pull data from the
> Actioncontext and render them. What's the advantage of pushing new data to
> context?
> I am using my phone to ask this question,so I can't express more,hope you
> guys know what I am talking about.^_^

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message