Re: How to put Spring object in Struts application scope on web startup?

2017-09-29 Thread Burton Rhodes
I have all of these settings in place, but your comments spurred the idea to have a "BaseAction" class where I autowire my object (MyApplicationSettings.java) and then extend all of my Actions from this class. Just for my info though... My original line of thinking was to be able to access the obj

Re: How to put Spring object in Struts application scope on web startup?

2017-09-29 Thread Adam Brin
it’s a mixture of things: * Struts.xml should be setup to know about spring: * register the appropriate application listeners * add the @Scope variables to controllers -- _ Adam Brin Director of Technology, Digital Antiqui

How to put Spring object in Struts application scope on web startup?

2017-09-29 Thread Burton Rhodes
How do you put a Spring object into the Struts application scope Map on startup of a web application? I have 2 listeners that I thought would be the usual suspects, but have not had success yet. I have a ServletContextListener class but on the contextInitialized(ServletContextEvent event) method,

Re: Extending StrutsTypeConverter :: How to detect specific type of "Class toClass"?

2017-09-29 Thread Burton Rhodes
Sorry for the delay. I have upgraded to the newest version and everything seems to be working. Thanks! On Mon, Sep 25, 2017 at 2:34 AM, Lukasz Lenart wrote: > 2017-09-25 5:04 GMT+02:00 Burton Rhodes : > > When extending the StrutsTypeConverter, is there anyway to figure out if > > the "toClass

RE: Question about upgrade to struts2 2.3.34 and session variables

2017-09-29 Thread Roslyakova, Svetlana
Below didn't work. We ended up creating new Map variable in Action, updating that variable in jsp and setting session from that variable in Action. Thanks, Lana. -Original Message- From: Lukasz Lenart [mailto:lukaszlen...@apache.org] Sent: Wednesday, September 27, 2017 1:53 AM To: Str