Re: s2 + spring, how to access spring defined bean in jsp

2008-06-06 Thread Tomislav Stojcevich
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

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



s2 + spring, how to access spring defined bean in jsp

2008-06-06 Thread Tomislav Stojcevich
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 the jsp's so I don't have action classes defined for all
jsp's).

--tom

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