That is too bad. Injecting a Resource in Spring is a snap and you can do cool things like load from the classpath when testing but then load from the file system during runtime. You can store your parameters in a properties file and then load that file into a Properties object.
Bummer your interceptor can only talk to EJB. I am sure there is some mechanism in EJB for loading properties files. You can talk to that service to get your parameters I suppose. Ignacio de Córdoba wrote: > > Thanks for your reply, > I have lots of code developed for struts1+tiles+EJB3 (Jboss). I am > migrating struts-tiles to struts2 + tiles2. I have too much EJB3 code and > I don't have a clear picture of where I can fit Spring there. I have so > much time to invest just to move to struts2... and absolutely I don't want > to touch a line of code in the bussiness layer. I can't afford it. > > Ignacio > -- View this message in context: http://www.nabble.com/Best-global-parameter-aproach-for-struts2-tp21698744p21699533.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org