I found this interesting filter that I could apply:
http://wiki.opensymphony.com/display/ABLE/Expose+Spring+Beans+in+JSP
I'm kind of surprised that spring or struts doesn't already have
something to provide this built in.
--tom
Dave
--- On Fri, 6/6/08, Chris Pratt <[EMAIL PROTECTED]> wrote:
> From: Chris Pratt <[EMAIL PROTECTED]>
> Subject: Re: s2 + spring, how to access spring defined bean in jsp
> To: "Struts Users Mailing List"
> Date: Friday, June 6, 2008, 2:13 PM
> You can also
ute.> Date: Fri, 6 Jun 2008 13:36:16 -0400>
> From: [EMAIL PROTECTED]> To: user@struts.apache.org> Subject: s2 + spring,
> how to access spring defined bean in jsp> > I have a spring defined singleton
> bean that I want to access in> several jsp's. I'd like
From: [EMAIL PROTECTED]> To: user@struts.apache.org> Subject: s2 + spring, how
to access spring defined bean in jsp> > I have a spring defined singleton bean
that I want to access in> several jsp's. I'd like to simply do something like
${bean.property}> wherever I need
I have a spring defined singleton bean that I want to access in
several jsp's. I'd like to simply do something like ${bean.property}
wherever I need it.
What's the easiest way that doesn't involve adding a getter in the
action class (I'm using the codebehind plugin and tiles plugin for
some of th
5 matches
Mail list logo