RE: [Struts 2] Read request attribute in struts.xml

2007-09-24 Thread Xibin Liu
AM To: Struts Users Mailing List Subject: Re: [Struts 2] Read request attribute in struts.xml Xibin Liu wrote: > Hi, I set an attribute in the request in the action code, and I want > to use it in the struts.xml (see below). How can I reference it at the > place

Re: [Struts 2] Read request attribute in struts.xml

2007-09-24 Thread Jim Cushing
Mark Menard's excellent Struts 2 Cookbook shows you how to do this. http://www.vitarara.org/cms/struts_2_cookbook/post_and_redirect If you've never seen his Cookbook, I definitely recommend taking a look. It's got some great tips. On Sep 24, 2007, at 11:02 AM, Xibin Liu wrote: Hi, I set a

Re: [Struts 2] Read request attribute in struts.xml

2007-09-24 Thread Dave Newton
Xibin Liu wrote: > Hi, I set an attribute in the request in the action > code, and I want to use it in the struts.xml (see > below). How can I reference it at the place marked by > ***? > > > > > *** > true > > (Ugh, mixed tabs and spaces :p Tabs are bad enough! ;) > I tried #r

[Struts 2] Read request attribute in struts.xml

2007-09-24 Thread Xibin Liu
Hi, I set an attribute in the request in the action code, and I want to use it in the struts.xml (see below). How can I reference it at the place marked by ***? *** true I tried #request