Ralf Fischer on 19/04/08 18:43, wrote:
On Sat, Apr 19, 2008 at 7:29 PM, Adam Hardy
<[EMAIL PROTECTED]> wrote:
From looking at the struts2 architecture, one of the big questions that I
can't find the answer to is how struts/xwork moves objects such as the
properties on an action into the PageContext.

Actually it's not done at all. I guess your real question is "I create
some objects in my action and want to render them somehow in the view.
How do I do that?"

Sorry, your guess was wide of the mark. My mistake for not being more explicit. I am familiar enough with the struts framework to know how I can put getters and setters on my action and use properties accordingly in my JSP with JSTL or OGNL or whatever, but my question is one meta-level up from your answer, i.e. how is that done by struts?

The struts interceptors encompass both the actions and the results, but how does struts put the action properties into the pageContext?


Adam

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

Reply via email to