Re: Struts2 and spring2 fails, adding RequestContextFilter/Listener doesnt work.

2006-12-23 Thread Peder Larsen
struts.objectFactory = spring into struts.properties file and see Thanks, Nuwan. - Original Message - From: Peder Larsen [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Saturday, December 23, 2006 3:31 AM Subject: Re: Struts2 and spring2 fails, adding RequestContextFilter

Struts2 and spring2 fails, adding RequestContextFilter/Listener doesnt work.

2006-12-22 Thread Peder Larsen
Hi I've been trying for some time now to get my basic struts2 test up and running. The problem i have is that i need to inject one UserInfo pr session into my FooAction. I want to use spring2 for this since it has better scope support than spring1. But all my efforts (scamming through forums,

Re: Struts2 and spring2 fails, adding RequestContextFilter/Listener doesnt work.

2006-12-22 Thread Peder Larsen
the important parts. Tried for several days now to get this IoC with session scope working with no luck, and I'm on the verge of giving it up. I really want to use struts2 for my next project, but all this banging against the wall is frustrating. Again, best regards Peder Larsen

Re: Struts2 and spring2 fails, adding RequestContextFilter/Listener doesnt work.

2006-12-22 Thread Peder Larsen
with the org.springframework.web.context.request.RequestContextListener listener but run in the same problem. Also tried what nuwan chandrasoma suggested in the thread above this but i've already tried that. So anyone spots whats missing? Thanks for all help. On 12/23/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 12/22/06, Peder

How to use IoC in struts2?

2006-12-21 Thread Peder Larsen
Hi, i've got one very basic question that i cant find any documentation for nor any examples, maybe i've missed it but.. What i want to is to inject a UserInfo object into my action. In webwork2 you used components.xml for this. E.g, component scopesession/scope