Re: [S2] accessing a JSP variable in a tag

2007-08-01 Thread Dave Newton
--- "Fowler, Perryn" <[EMAIL PROTECTED]> wrote: > <% String foo = "bar" %> > > I want to write out the value of foo using the > Struts property tag You need to either (a) put it in one of the normal scopes and take advantage of S2's ability to look for stuff their instead of on the OGNL stack or

Re: [S2] accessing a JSP variable in a tag

2007-08-01 Thread Alexander Jede
Hi, Am Mittwoch, den 01.08.2007, 19:08 +1000 schrieb Fowler, Perryn: ... > > <% String foo = "bar" %> > > I want to write out the value of foo using the Struts property tag ( so > that I can make use of its handy escaping functionality) ... I would do this with But I think it should also work w

[S2] accessing a JSP variable in a tag

2007-08-01 Thread Fowler, Perryn
I am probably being dense, but I have a normal old jsp variable in one of my pages Eg <% String foo = "bar" %> I want to write out the value of foo using the Struts property tag ( so that I can make use of its handy escaping functionality) I cant figure out how to do it though :( Cheers Perry