Re: Spring Boot + Struts2 Convention Plugin Not Working

2019-03-12 Thread Lukasz Lenart
Hi I think it's do the fact that the plugin won't scan JARs by default https://struts.apache.org/plugins/convention/#actions-in-jar-files Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ pon., 11 mar 2019 o 18:39 Rubens Gomes napisał(a): > > I using Spring Boot + Struts2, and the

Re: spring struts 2: Unexpected Exception caught setting 'lang' on 'class com.sun.proxy.$Proxy164

2017-08-01 Thread Rubens Gomes
Subject: Re: spring struts 2: Unexpected Exception caught setting 'lang' on 'class com.sun.proxy.$Proxy164 Hi, seems to me like a issue with spring setup. Can you share that? Regards, Christoph > From: Rubens Gomes > To: "user@struts.apache.org" , > Date:

Re: spring struts 2: Unexpected Exception caught setting 'lang' on 'class com.sun.proxy.$Proxy164

2017-07-31 Thread Christoph Nenning
Hi, seems to me like a issue with spring setup. Can you share that? Regards, Christoph > From: Rubens Gomes > To: "user@struts.apache.org" , > Date: 30.07.2017 22:54 > Subject: spring struts 2: Unexpected Exception caught setting > 'lang' on 'class com.sun.proxy.$Proxy164 > > I am using

Re: Spring Struts problem

2016-03-24 Thread Lukasz Lenart
2016-03-24 22:25 GMT+01:00 José Antonio Delgado Trujillo : >> >> You must define also scope="prototype" as Struts actions cannot be singletons > > There is nothing about that in the tutorial > https://cwiki.apache.org/confluence/display/WW/Spring+and+Struts+2 >

Re: Spring Struts problem

2016-03-24 Thread José Antonio Delgado Trujillo
> > You must define also scope="prototype" as Struts actions cannot be singletons > There is nothing about that in the tutorial https://cwiki.apache.org/confluence/display/WW/Spring+and+Struts+2 > You shouldn't mix Struts vers

Re: Spring Struts problem

2016-03-24 Thread Lukasz Lenart
2016-03-24 21:41 GMT+01:00 José Antonio Delgado Trujillo : >> >> Can you share your config? > > My applicationContext.xml is… > > > http://www.springframework.org/schema/beans"; >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >xsi:schemaLocation=" > http://www.s

Re: Spring Struts problem

2016-03-24 Thread José Antonio Delgado Trujillo
> > Can you share your config? My applicationContext.xml is… http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org

Re: Spring Struts problem

2016-03-24 Thread Lukasz Lenart
2016-03-24 14:56 GMT+01:00 José Antonio Delgado Trujillo : > I understood that spring can manage and inject dependency class in Action. > You can also use CDI instead of Spring > In the example manage and inject EditServiceInMemory. > To do this: > >- Insert the struts spring plugin depend

RE: Spring BeanPostProcessor called twice for Struts managed beans

2015-10-15 Thread Martin Gainty
> From: chris.cranf...@setech.com > To: user@struts.apache.org > Subject: RE: Spring BeanPostProcessor called twice for Struts managed beans > Date: Thu, 15 Oct 2015 13:26:01 + > > I could be mistaken, but that would only solve not invoking the post > instantiation

RE: Spring BeanPostProcessor called twice for Struts managed beans

2015-10-15 Thread CRANFORD, CHRIS
: RE: Spring BeanPostProcessor called twice for Struts managed beans > From: lukaszlen...@apache.org > Date: Thu, 15 Oct 2015 07:56:24 +0200 > Subject: Re: Spring BeanPostProcessor called twice for Struts managed > beans > To: user@struts.apache.org > > You are probably right

RE: Spring BeanPostProcessor called twice for Struts managed beans

2015-10-15 Thread Martin Gainty
> From: lukaszlen...@apache.org > Date: Thu, 15 Oct 2015 07:56:24 +0200 > Subject: Re: Spring BeanPostProcessor called twice for Struts managed beans > To: user@struts.apache.org > > You are probably right :) Please register an issue and target 2.3.25 > as a fix ver

Re: Spring BeanPostProcessor called twice for Struts managed beans

2015-10-14 Thread Lukasz Lenart
You are probably right :) Please register an issue and target 2.3.25 as a fix version. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2015-10-15 6:57 GMT+02:00 CRANFORD, CHRIS : > In a recent BeanPostProcessor implementation, I noticed our logic was being > invoked twice in both

RE: Spring Injection Strange behaviour - SOLVED!

2015-09-06 Thread Martin Gainty
Congratulations Chris! Martin __ > From: crisp...@gmx.us > To: user@struts.apache.org > CC: user@struts.apache.org > Subject: Re: RE: Spring Injection Strange behaviour - SOLVED! > Date: Sun, 6 Sep 2015 06:38:47 +0200 > > > Finally I found the r

Re: RE: Spring Injection Strange behaviour - SOLVED!

2015-09-05 Thread Chris
such an idiot.   Thanks   Chris   Sent: Sunday, September 06, 2015 at 3:32 AM From: Chris To: "Dave Newton" , "Struts Users Mailing List" Subject: RE: Spring Injection Strange behaviour Hi Dave,   Thanks for your reply.   I tried setting the scope of the action bean to prototyp

RE: Spring Injection Strange behaviour

2015-09-05 Thread C N Davies
rAction" cannot be resolved and the only way to fix it is use the full class name. I'm stumped! Chris -Original Message- From: Lukasz Lenart [mailto:lukaszlen...@apache.org] Sent: Sunday, September 6, 2015 12:37 AM To: Struts Users Mailing List Subject: Re: Spring Injection S

RE: Spring Injection Strange behaviour

2015-09-05 Thread Chris
e Newton [mailto:davelnew...@gmail.com] Sent: Saturday, September 5, 2015 11:27 PM To: Struts Users Mailing List Subject: Re: Spring Injection Strange behaviour   Not sure, but if nothing else the action should be set to `prototype` scope, as they're instantiated per-request.   Are you using the St

Re: Spring Injection Strange behaviour

2015-09-05 Thread Lukasz Lenart
How do you declare the action in struts.xml? Because instead full class name you must use the id from applicationContext.xml http://struts.apache.org/dtds/struts-2.0.dtd";> success.jsp https://struts.apache.org/docs/spring-plugin.html#SpringPlugin-Initial

Re: Spring Injection Strange behaviour

2015-09-05 Thread Dave Newton
Not sure, but if nothing else the action should be set to `prototype` scope, as they're instantiated per-request. Are you using the Struts 2 Spring plugin? On Sat, Sep 5, 2015 at 8:47 AM, Chris wrote: > I'm trying to use the Spring plugin to inject a dependency into my action > at runtime. This

Re: Spring Anotaction with Strust

2013-08-26 Thread Lukasz Lenart
2013/8/17 Alireza Fattahi : > Hi, > May be this a spring question but please help me... > Consider the example: > http://struts.apache.org/release/2.2.x/docs/spring-and-struts-2.html > > I want to use spring anotation for defining the beans. > So I make a EditServiceInMemory class as below: > > @Co

Re: Spring Plugin

2013-08-26 Thread Łukasz Lenart
Yes 2013/8/26 Alireza Fattahi : > Hi, > > When we are using spring plugin, all the objects actions, interceptors, > filters are managed by spring. Is it correct?! > > > ~Regards, > ~~Alireza Fattahi -- Łukasz mobile +48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Conf

Re: Spring Plugin

2013-08-26 Thread Lukasz Lenart
Yes 2013/8/26 Alireza Fattahi : > Hi, > > When we are using spring plugin, all the objects actions, interceptors, > filters are managed by spring. Is it correct?! > > > ~Regards, > ~~Alireza Fattahi -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ ---

Re: spring integration

2013-01-26 Thread fusillator
Il 26/01/2013 20:42, Lukasz Lenart ha scritto: 2013/1/26 fusillator : So it seems that the struts framework use strightly log4j too, ignoring the container configuration, doesn't it? Nope, if so it's a bug. S2 will try to use SLF4J (with new release), then commons-logging (which mostly means Lo

Re: spring integration

2013-01-26 Thread Lukasz Lenart
2013/1/26 fusillator : > So it seems that the struts framework use strightly log4j too, ignoring the > container configuration, doesn't it? Nope, if so it's a bug. S2 will try to use SLF4J (with new release), then commons-logging (which mostly means Log4j) and at the end JDK logging. https://svn.

Re: spring integration

2013-01-26 Thread fusillator
Il 26/01/2013 19:27, Dave Newton ha scritto: Please don't do dependency management yourself. In any case, the exception directed you to the missing libraries. The problem is that when you're managing transitive dependencies manually it can turn into a chain of missing class failures for several

Re: spring integration

2013-01-26 Thread fusillator
Il 26/01/2013 19:07, fusillator ha scritto: Hi all, I'm trying to use the struts2 spring plugin as indicated by the tutorial at http://struts.apache.org/2.3.8/docs/spring-and-struts-2.html without success. I got the following log: SEVERE: Error listenerStart gen 26, 2013 6:15:57 PM org.apach

Re: Spring Plugin and Interceptor instantiation

2011-06-28 Thread Wes Wannemacher
Spring will instantiate the interceptors (and actions and results) if spring is able to resolve the name given as a bean. Think of it like this, if you specify an interceptor like so - and "executeAndWaitInterceptorBean" resolves as a bean name in your spring context, then it will use the resolved

Re: Spring Security

2011-03-31 Thread Jason Ferguson
Here a Basics of Spring Security 3 presentation I gave at the St Louis Java User group, but didn't have much time to go into securing objects. http://www.slideshare.net/jasonferguson1/spring-security-3 On Thu, Mar 31, 2011 at 12:31 PM, CRANFORD, CHRIS wrote: > If anyone here has experience with

Re: Spring Security

2011-03-31 Thread Kushan Jayathilake
Yep.. I'm writing an article in my blog about Spring Security. Method level security will be the next post. Stay in touch. You can reach me through my blog. http://kushanxp.blogspot.com/ On Thu, Mar 31, 2011 at 11:01 PM, CRANFORD, CHRIS wrote: > If anyone here has experience with Spring Securi

Re: Spring 3 Upgrade

2010-12-05 Thread Burton Rhodes
I pinged this same question to the list a while back, and I think the only thing that will break is if you use the "Class Reloading" feature in the Spring Plugin. Knowing that this is a experimental debug feature, and not to be used in production environments, this should not be an issue for you.

Re: Spring 3 Upgrade

2010-12-03 Thread Emi Lu
I am using spring3.0 5, jdk1.6, tomcat6, mybatis3. It seems fine for now. Lu Ying I had no trouble with it. On Thu, Dec 2, 2010 at 5:08 PM, Zoran Avtarovskiwrote: I just wanted to check if there were any issues with upgrading spring to version 3 with struts 2.2.1? I notice the complete dow

Re: Spring 3 Upgrade

2010-12-03 Thread phillips1021
See this article: http://www.brucephillips.name/blog/index.cfm/2010/10/3/Struts-2-Spring-Plugin--Excluding-Its-Transitive-Dependencies-To-Use-A-Newer-Version-Of-Spring We are using the technique described above in several production web applications without issue. Bruce Sparecreative wrote: >

Re: Spring 3 Upgrade

2010-12-02 Thread Li Ying
I built a web app in this summer, using the latest Struts2.2.1 and the latest Spring3.x. And there was nothing going wrong. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@s

Re: Spring 3 Upgrade

2010-12-02 Thread Frans Thamura
but if we use struts2 maven, the spring default is 2.x i have 2 deployment, spring3 and spring2 (from maven) should we fix and upgrade the maven F On Fri, Dec 3, 2010 at 6:37 AM, Maurizio Cucchiara < maurizio.cucchi...@gmail.com> wrote: > I'm using 3.0.5 and I haven't any trouble. > > 2010/12/

Re: Spring 3 Upgrade

2010-12-02 Thread Maurizio Cucchiara
I'm using 3.0.5 and I haven't any trouble. 2010/12/3 Jason Ferguson : > I had no trouble with it. > > On Thu, Dec 2, 2010 at 5:08 PM, Zoran Avtarovski > wrote: > >> I just wanted to check if there were any issues with upgrading spring to >> version 3 with struts 2.2.1? >> >> I notice the complete

Re: Spring 3 Upgrade

2010-12-02 Thread Jason Ferguson
I had no trouble with it. On Thu, Dec 2, 2010 at 5:08 PM, Zoran Avtarovski wrote: > I just wanted to check if there were any issues with upgrading spring to > version 3 with struts 2.2.1? > > I notice the complete download still has Spring 2.5 libraries. > > I'd appreciate any feedback from peopl

Re: Spring context for package

2010-11-25 Thread Josep María Formentí Serra
Well, the project that we are building have a common part (now only user administration) and then we have two independent modules (with some links between theirs). In this case, it would be a good solution use an ear, but some clients are working in tomcat, then we are working with a war. Really,

Re: Spring context for package

2010-11-24 Thread stanlick
Josep -- That sounds a little radical. Do you mind if I ask why? Is the unique namespace per package not enough separation? Hey, if strict separation is what you desire, you could package each S2 package in it's own project and move the package namespace to the web root context and be done with

Re: Spring context for package

2010-11-23 Thread Josep María Formentí Serra
Scott, it's interesting, I didn't know that, but i would like to have different application context in the same war, specifically, i would like to have an application context for each package that is defined in struts.xml. Thanks, Josep Maria 2010/11/17 > Josep -- > > I believe this is what y

Re: Spring context for package

2010-11-17 Thread stanlick
Josep -- I believe this is what you are looking for. http://blog.springsource.com/2007/06/11/using-a-shared-parent-application-context-in-a-multi-war-spring-application/ Peace, Scott 2010/11/17 Josep María Formentí Serra > Thanks Dave and Chris, > > Chris, that it's nice, we are going to mod

Re: Spring context for package

2010-11-16 Thread Josep María Formentí Serra
Thanks Dave and Chris, Chris, that it's nice, we are going to modify it in our project. But our real problem is that we have two independent modules (and struts package for each one) and many spring beans have the same name. Then we have to change bean names when we detect a conflict. I think it w

Re: Spring context for package

2010-11-12 Thread Chris Pratt
If you are talking about per Java package, not that I know of. If you mean per Struts package, same thing. But if you mean per jar file, there is a way. If you set your contextConfigLocation to something like "WEB-INF/applicationContext.xml,classpath*:pluginContext.xml" then Spring will load you

Re: Spring context for package

2010-11-12 Thread Dave Newton
As far as I know there's nothing in the Spring plugin that currently provides that functionality. Dave 2010/11/12 Josep María Formentí Serra : > Hi, > > We are working in a new project using struts2 + spring + hibernate. We have > many packages defined in struts.xml, one for module. We have confi

Re: Spring configuration error

2010-08-18 Thread Dave Newton
Are you deploying the Spring plugin? Dave On Aug 18, 2010 12:19 AM, "Rakeshkumar Parmar" < rakeshkumar_par...@persistent.co.in> wrote: > Hi, > > I am not using spring to configure Hello World sample application. But it still gives me listener not registered error for spring context. I am using st

Re: Spring configuration error

2010-08-17 Thread Eduard Neuwirt
Hello Rakesh, are you using spring 3.x version ? If yes, please make sure, you have already included all spring 3.0 jars. The entire list of jars can be found here: http://blog.springsource.com/2009/12/02/obtaining-spring-3-artifacts-with-maven/ Listener not cofigured means that one of spr

Re: Spring 2.5.6 -> 3.0

2010-07-29 Thread Lukasz Lenart
You must exclude Spring 2.5.6 in struts2-spring-plugin dependency. http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html#Dependency Exclusions Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl

RE: spring, struts2, convention plugin, how to "wire" an action class

2010-05-14 Thread Martin Gainty
s ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Thu, 13 May 2010 20:18:34 -0400 > Subject: Re: spring, struts2, convention plugin, how to "wire" an action class > From: vangj...@googlemail.com > To: user@struts.apache.org > > roger, &

Re: spring, struts2, convention plugin, how to "wire" an action class

2010-05-13 Thread Denis Cabasson
My best guess is that the Action instance used in the web application is not actually loaded from the configuration in your applicationContext, but directly by Struts 2 (through the Spring Factory, but still Struts 2). That mean that you will have a bean named myAction in you application conte

Re: spring, struts2, convention plugin, how to "wire" an action class

2010-05-13 Thread Jake Vang
roger, thanks for the steps. i went through each of those steps and made sure my settings/configurations complied. however, i still cannot initialize Action classes using Spring. as an illustration of the problem i am facing, i have created an example that you may download and verify for yourself

Re: spring, struts2, convention plugin, how to "wire" an action class

2010-05-13 Thread RogerV
Jake Vang wrote: > >> If you want Spring to create your action class (as opposed to Struts >> creating them) then you need to define your action in the >> applicationContext.xml file. > > how do you do that? here's a couple of ways i have tried that do NOT work. > 1) Add to your struts.xml

Re: spring, struts2, convention plugin, how to "wire" an action class

2010-05-13 Thread Jake Vang
source anno as well. Can't think off the >>> top of my head. >>> >>> -Original Message- >>> From: Jake Vang [mailto:vangj...@googlemail.com] >>> Sent: 13 May 2010 11:44 >>> To: Struts Users Mailing List >>> Subject: R

Re: spring, struts2, convention plugin, how to "wire" an action class

2010-05-13 Thread Denis Cabasson
. mailto:vangj...@googlemail.com] Sent: 13 May 2010 11:44 To: Struts Users Mailing List Subject: Re: spring, struts2, convention plugin, how to "wire" an action class yes. precisely. On Thu, May 13, 2010 at 6:41 AM, James Cook wrote: Oh, did you want your action as a spring manage

Re: spring, struts2, convention plugin, how to "wire" an action class

2010-05-13 Thread Jake Vang
think off the top > of my head. > > -Original Message- > From: Jake Vang [mailto:vangj...@googlemail.com] > Sent: 13 May 2010 11:44 > To: Struts Users Mailing List > Subject: Re: spring, struts2, convention plugin, how to "wire" an action class > > yes. pr

Re: spring, struts2, convention plugin, how to "wire" an action class

2010-05-13 Thread Jake Vang
> If you want Spring to create your action class (as opposed to Struts > creating them) then you need to define your action in the > applicationContext.xml file. how do you do that? here's a couple of ways i have tried that do NOT work. 1. (normal, naive way that works for defining services)

RE: spring, struts2, convention plugin, how to "wire" an action class

2010-05-13 Thread RogerV
James Cook-13 wrote: > > Oh, did you want your action as a spring managed bean? Ah I think i > massively miss read you. You want to inject predefined values etc? > If you want Spring to create your action class (as opposed to Struts creating them) then you need to define your action in the ap

RE: spring, struts2, convention plugin, how to "wire" an action class

2010-05-13 Thread James Cook
Ahh hmm. You can use the autowired, You just have to declare you stuff in the spring xml. E.g. mailto:vangj...@googlemail.com] Sent: 13 May 2010 11:44 To: Struts Users Mailing List Subject: Re: spring, struts2, convention plugin, how to "wire" an action class yes. precisely. On T

Re: spring, struts2, convention plugin, how to "wire" an action class

2010-05-13 Thread Jake Vang
...@googlemail.com] > Sent: 13 May 2010 11:38 > To: Struts Users Mailing List > Subject: Re: spring, struts2, convention plugin, how to "wire" an action class > > thanks. i won't go that route. i noticed your example (in the first > response) and i realized that i may t

RE: spring, struts2, convention plugin, how to "wire" an action class

2010-05-13 Thread James Cook
Oh, did you want your action as a spring managed bean? Ah I think i massively miss read you. You want to inject predefined values etc? -Original Message- From: Jake Vang [mailto:vangj...@googlemail.com] Sent: 13 May 2010 11:38 To: Struts Users Mailing List Subject: Re: spring, struts2

Re: spring, struts2, convention plugin, how to "wire" an action class

2010-05-13 Thread Jake Vang
> Sent: 13 May 2010 11:16 > To: Struts Users Mailing List > Subject: Re: spring, struts2, convention plugin, how to "wire" an action class > > doesn't answer the question but thanks anyways. > > On Thu, May 13, 2010 at 6:12 AM, James Cook wrote: >> Nope, n

RE: spring, struts2, convention plugin, how to "wire" an action class

2010-05-13 Thread James Cook
Yeah sorry, short on time here, didn't see your question at the bottom. Add the spring jar from the spring project. -Original Message- From: Jake Vang [mailto:vangj...@googlemail.com] Sent: 13 May 2010 11:16 To: Struts Users Mailing List Subject: Re: spring, struts2, convention p

Re: spring, struts2, convention plugin, how to "wire" an action class

2010-05-13 Thread Jake Vang
> From: Jake Vang [mailto:vangj...@googlemail.com] > Sent: 13 May 2010 11:09 > To: Struts Users Mailing List > Subject: Re: spring, struts2, convention plugin, how to "wire" an action class > > well, there's something strange about struts2 (with convent

Re: spring, struts2, convention plugin, how to "wire" an action class

2010-05-13 Thread Jake Vang
by the way, which package is the @Autowired annotation in? using eclipse and code assist, i can't get it to show up. is it in some other jar file (it's not in the spring-core-x.jar)? On Thu, May 13, 2010 at 5:44 AM, James Cook wrote: > Hmm. I use the same combo. > > I found at some point I could

RE: spring, struts2, convention plugin, how to "wire" an action class

2010-05-13 Thread James Cook
Nope, no they are not in the xml for me. I use the @Service/@Repository annotations on the class, coupled with the component scan in the Spring xml. -Original Message- From: Jake Vang [mailto:vangj...@googlemail.com] Sent: 13 May 2010 11:09 To: Struts Users Mailing List Subject: Re

Re: spring, struts2, convention plugin, how to "wire" an action class

2010-05-13 Thread Jake Vang
well, there's something strange about struts2 (with convention plugin) + spring. if your action has a field representing a service, MyInjectedService myInjectedService, you just have to define that in the spring xml file. for example, your Action class looks like the following. public class MyActi

RE: spring, struts2, convention plugin, how to "wire" an action class

2010-05-13 Thread James Cook
Hmm. I use the same combo. I found at some point I could jsut do public class MyAction extends ActionSupport { private MyInjectedService service etc etc But I have started doing: public class MyAction extends ActionSupport { @Autowired private MyInjectedService service I am not sure if tha

Re: Spring 3.0 (REST) and Struts2

2009-09-24 Thread Wes Wannemacher
On Thu, Sep 24, 2009 at 6:01 AM, Frans Thamura wrote: [snip] > > there is declarative transaction inside spring that may be can benefit > S2 apps, can share this experience? > Frans, I use Spring's declarative transaction management, but there are some caveats. The biggest being that it depends o

Re: Spring Security method security with struts2 make all request params in action NULL

2009-01-28 Thread dusty
Ah. The reason I ask is I had a similar problem but with the updated StrutsPrepare and StrutsExecute filters. Spring Security modified the request in a way that Struts was not expecting and therefore Struts could not find what it was looking for. You may need to step through Spring Security and

Re: Spring Security method security with struts2 make all request params in action NULL

2009-01-27 Thread dubrovsky
dusty wrote: > > What is your filter order in web.xml. Can you show your web.xml config? > Yes, of course. I think my web.xml is all right. Here it is: Infm Client contextConfigLocation /WEB-INF/applicationContext-beans.xml /WEB-INF/applicationContext-security.xml sp

Re: Spring Security method security with struts2 make all request params in action NULL

2009-01-27 Thread dusty
What is your filter order in web.xml. Can you show your web.xml config? dubrovsky wrote: > > I posted reply for this problem in Spring community forum. Who is > interested in, please follow the link - > http://forum.springsource.org/showthread.php?t=66381 > http://forum.springsource.org/show

Re: Spring Security method security with struts2 make all request params in action NULL

2009-01-27 Thread dubrovsky
I posted reply for this problem in Spring community forum. Who is interested in, please follow the link - http://forum.springsource.org/showthread.php?t=66381 http://forum.springsource.org/showthread.php?t=66381 -- View this message in context: http://www.nabble.com/Spring-Security-method-sec

Re: Spring Scope Default

2009-01-26 Thread dusty
-mail and any attachments relates to the official >> business of Sender. This transmission is of a confidential nature and >> Sender does not endorse distribution to any party other than intended >> recipient. Sender does not necessarily endorse content contained within >> this

Re: Spring Scope Default

2009-01-26 Thread Dave Newton
der. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. Date: Mon, 26 Jan 2009 21:41:21 +0100 Subject: Re: Spring Scope Default

RE: Spring Scope Default

2009-01-26 Thread Martin Gainty
not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Mon, 26 Jan 2009 21:41:21 +0100 > Subject: Re: Spring Scope Default > From: lukasz.len...@googlemail.com > To: user@struts

Re: Spring Scope Default

2009-01-26 Thread Lukasz Lenart
2009/1/26 dusty : > Interesting. So I am being lazy by not looking at the code first; How does > it register the new action object with Spring so its services can be > autowired in? I don't know exactly but it works ;-) Regards -- Lukasz http://www.lenart.org.pl/ -

Re: Spring Scope Default

2009-01-26 Thread dusty
Lukasz Lenart wrote: > > 2009/1/26 dusty : >> When using the struts2-spring-plugin, without bean declaration for your >> actions, what is the default scope for the created Action beans? >> Prototype, >> I hope, but I can't really find where that is set or happens. I know the >> default for Sp

Re: Spring Scope Default

2009-01-25 Thread Lukasz Lenart
2009/1/26 dusty : > When using the struts2-spring-plugin, without bean declaration for your > actions, what is the default scope for the created Action beans? Prototype, > I hope, but I can't really find where that is set or happens. I know the > default for Spring beans when not otherwise specif

Re: Spring Error without Spring

2009-01-13 Thread Alexander Baetz
Hi, I'm using 2.0.14 when i copied the jars from the new distribution download i copied some plug-ins that caused these errors. the plugins are removed and everything is fine now. Greetings, Alexander Dave Newton schrieb: If the Spring plugin is on the classpath S2 will attempt to use it.

Re: Spring Error without Spring

2009-01-12 Thread Dave Newton
If the Spring plugin is on the classpath S2 will attempt to use it. (It's also best to explicitly state which version of S2 you're using.) Dave Alexander Baetz wrote: i currently updated the struts version of my projekt to the new GA. Unfortunately i got the following error upon startup. 17:

Re: Spring scope prototype and Struts Action

2009-01-08 Thread Musachy Barroso
http://www.nabble.com/Spring-scope-prototype-and-Struts-Action-to21341870.html On Thu, Jan 8, 2009 at 4:30 AM, e_sli...@yahoo.it wrote: > Hi folks! > > > > Following the Struts 2 + Spring 2 + JPA + AJAX Tutorial > (http://struts.apache.org/2.0.14/docs/struts-2-spring-2-jpa-ajax.html) > > > > I'm

Re: Spring scope prototype and Struts Action

2009-01-07 Thread Dave Newton
Emanuele Ghevre wrote: As far as the scope is prototype I'm expecting Spring to create a new HelloWorldAction object "every time an object of that type is requested". But during my Tomcat boot I can see Spring creating an HelloWorldAction object. Is it normal? I thought this behaviour was only f

Re: Spring Security and Struts2 Using tiles

2008-06-30 Thread Alberto A. Flores
I had to put those efforts on the side as it was in a prototype and proof of concept phase. However, I have just began (today) to officially make serious effort into making it work (if at all possible) for our project. I should have a better answer by the end of the day... but any feedback woul

Re: Spring Security and Struts2 Using tiles

2008-06-29 Thread JerryK
I was able to get this working with Acegi, by setting the Dispatcher property in web.xml /* REQUEST INCLUDE FORWARD But, now when i try this with Spring Security 2.0.1, i am facing the same problem as you have described here. Have you found any solution so far

Re: Spring autowiring null values

2008-05-21 Thread Dave Newton
--- Ian Meikle <[EMAIL PROTECTED]> wrote: > I do not think this is a Sprin issue, I stated in my last mail > that I though this was an issue with the pluing for Spring for > Struts2. > > However it looks like this was not the case, after further > investigation, it looks like it is the Instantia

Re: Spring autowiring null values

2008-05-21 Thread Ian Meikle
ers Mailing List" To Struts Users Mailing List cc Subject Re: Spring autowiring null values --- Ian Meikle <[EMAIL PROTECTED]> wrote: > Yes I have tried, but as I previously said, this is the STRUTS2 > Spring plugin that is causing this behaviour NOT Spring. >

Re: Spring autowiring null values

2008-05-20 Thread Dave Newton
--- Ian Meikle <[EMAIL PROTECTED]> wrote: > Yes I have tried, but as I previously said, this is the STRUTS2 > Spring plugin that is causing this behaviour NOT Spring. > > More details: > > I have a ModelDrive action. > In my JSP, I have the tag: > > > In some situations when we call the

Re: Spring autowiring null values

2008-05-20 Thread Ian Meikle
. - Dave Newton <[EMAIL PROTECTED]> 20.05.2008 13:46 Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: Spring autowiring null values Have you *tried* se

Re: Spring autowiring null values

2008-05-20 Thread Dave Newton
- > > > > > Dave Newton <[EMAIL PROTECTED]> > 19.05.2008 17:16 > Please respond to > "Struts Users Mailing List" > > > To > Struts Users Mailing List > cc > > Subject > Re: Spring autowiring null values > > &g

Re: Spring autowiring null values

2008-05-20 Thread Ian Meikle
. - Dave Newton <[EMAIL PROTECTED]> 19.05.2008 17:16 Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: S

Re: Spring autowiring null values

2008-05-19 Thread Dave Newton
--- Ian Meikle <[EMAIL PROTECTED]> wrote: > I have already read this page, the possible values are given as: > > name, type, auto or constructor. > > There is no NONE, or OFF value, and looking at the source code there > does not seem to be support for it either. > Hence why I am asking if there

Re: Spring autowiring null values

2008-05-19 Thread Ian Meikle
TED]> 19.05.2008 15:54 Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: Spring autowiring null values --- Ian Meikle <[EMAIL PROTECTED]> wrote: > We would like to turn off the autowiring completly. > I understand that this is no

Re: Spring autowiring null values

2008-05-19 Thread Dave Newton
--- Ian Meikle <[EMAIL PROTECTED]> wrote: > We would like to turn off the autowiring completly. > I understand that this is not really anything to do with STRUTS2, but > > since it seems to be set via the STRUTS Spring plugin > I thought you guys would know. It can be set either in the Spring con

Re: Spring autowiring null values

2008-05-19 Thread Joachim Ansorg
Dave Newton <[EMAIL PROTECTED]> 19.05.2008 15:28 Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: Spring autowiring null values Spring autowiring (is autowiring by name the default?) isn

Re: Spring autowiring null values

2008-05-19 Thread Ian Meikle
To Struts Users Mailing List cc Subject Re: Spring autowiring null values Spring autowiring (is autowiring by name the default?) isn't related to XWork at all AFAIK. Can you be a bit more specific about what behavior you're seeing contrasted against what you'd prefer? I mea

Re: Spring autowiring null values

2008-05-19 Thread Dave Newton
Spring autowiring (is autowiring by name the default?) isn't related to XWork at all AFAIK. Can you be a bit more specific about what behavior you're seeing contrasted against what you'd prefer? I mean, you can set Spring's default wiring to something else or turn it off altogether. Dave --- Ia

Re: Spring Security and Struts2 Using tiles

2008-05-14 Thread Alberto A. Flores
After further testing, it looks like even without tiles, the strut2 action mapping is not secured with Acegi/Spring Security (as of version 2.0.1, Struts version 2.0.11). As far as I can tell, it has to do with the FilterDispatcher (Struts2) always forwarding to ActionProxy class to process wor

Re: Spring Security and Struts2 Using tiles

2008-05-13 Thread Antonio Petrelli
2008/5/13 Alberto A. Flores <[EMAIL PROTECTED]>: > I would, but it seems to me like there is little that can be done on the > Struts2 side (unless a plugin of some sort is written). Essentially, when > control is forwarded to the tile, Spring security can not do much (or maybe > I'm missing somethi

Re: Spring Security and Struts2 Using tiles

2008-05-13 Thread Alberto A. Flores
I would, but it seems to me like there is little that can be done on the Struts2 side (unless a plugin of some sort is written). Essentially, when control is forwarded to the tile, Spring security can not do much (or maybe I'm missing something). The Spring Security team is well aware of (as f

Re: Spring Security and Struts2 Using tiles

2008-05-13 Thread Antonio Petrelli
2008/5/13 Alberto A. Flores <[EMAIL PROTECTED]>: > I don't thinks that's possible as the Struts2 result would be something > like: > > my.tile > > In here, I don't have access to the forward. Mmm... it's starting to be complicated, and I think that there is a bug somewhere. Can you open a JIRA i

Re: Spring Security and Struts2 Using tiles

2008-05-13 Thread Alberto A. Flores
I don't thinks that's possible as the Struts2 result would be something like: my.tile In here, I don't have access to the forward. Antonio Petrelli wrote: 2008/5/13 Alberto A. Flores <[EMAIL PROTECTED]>: My understanding is that Spring Security does not secure resources on *forwards* (I bel

Re: Spring Security and Struts2 Using tiles

2008-05-13 Thread Antonio Petrelli
2008/5/13 Alberto A. Flores <[EMAIL PROTECTED]>: > My understanding is that Spring Security does not secure resources on > *forwards* (I believe tiles2 do forward/chaining). Forwards and includes, that's where I think there may be a fault. Can you try if, using simple tags, the security tags wor

Re: Spring-injected model results in error for ModelDriven action after 10mins

2008-03-05 Thread Dave Newton
--- Jonny Cavell <[EMAIL PROTECTED]> wrote: > I get the following error, but only after about 10 mins after a server > restart. To fix, I need to restart the server. > > Unable to instantiate Action, xxx, defined for 'aaa' in namespace '/' > Error creating bean with name 'xxx' defined in class pa

  1   2   >