Re: have plan to upgrade version of spring in struts 2 Spring plugin?

2019-12-15 Thread John Bush
.5.22 -Original Message- From: Sai Man Yau Sent: Wednesday, December 11, 2019 7:58 AM To: user@struts.apache.org Subject: have plan to upgrade version of spring in struts 2 Spring plugin? Dear Struts 2 Team, Thanks for your hard work to maintain such great framework to sustain all other devel

RE: have plan to upgrade version of spring in struts 2 Spring plugin?

2019-12-14 Thread Yasser Zamani
ifact/org.apache.struts/struts2-core/2.5.22 >-Original Message- >From: Sai Man Yau >Sent: Wednesday, December 11, 2019 7:58 AM >To: user@struts.apache.org >Subject: have plan to upgrade version of spring in struts 2 Spring plugin? > >Dear Struts 2 Team, > >Thank

have plan to upgrade version of spring in struts 2 Spring plugin?

2019-12-10 Thread Sai Man Yau
Dear Struts 2 Team, Thanks for your hard work to maintain such great framework to sustain all other developers. Thanks!! Since struts is using spring is some of the component, I would like to ask will there a plan to upgrade the spring dependencies for Struts 2 Spring plugin because of the

Re: How do configure struts convention plugin with struts-spring plugin with Action class mapped with annotations

2015-03-03 Thread bavon mike
The actual problem was that struts 2.3.20 has some logging issues with wildfly(doesnt log anything at runtime)..i just downgraded it to 2.3.16.3 and i was able to trace the error On Mon, Mar 2, 2015 at 12:53 PM, Lukasz Lenart wrote: > 2015-03-02 10:44 GMT+01:00 bavon mike : > > Even on disabling

Re: How do configure struts convention plugin with struts-spring plugin with Action class mapped with annotations

2015-03-02 Thread Lukasz Lenart
2015-03-02 10:44 GMT+01:00 bavon mike : > Even on disabling CDI and using Spring, Ajax cant locate the action class. > > Mapping the action class in struts.xml and bean in applicationContext.xml > works fine, problems comes when i want to use annotation( convention > plugin) for my action class ra

Re: How do configure struts convention plugin with struts-spring plugin with Action class mapped with annotations

2015-03-02 Thread bavon mike
:05 PM, Lukasz Lenart wrote: > You are mixing CDI and Spring - you should use just one DI > > 2015-03-02 7:32 GMT+01:00 bavon mike : > > I am trying to configure spring plugin with strut 2 application, which is > > already running with convention plugin, so am using annotation

Re: How do configure struts convention plugin with struts-spring plugin with Action class mapped with annotations

2015-03-02 Thread Lukasz Lenart
You are mixing CDI and Spring - you should use just one DI 2015-03-02 7:32 GMT+01:00 bavon mike : > I am trying to configure spring plugin with strut 2 application, which is > already running with convention plugin, so am using annotations. Am using > ExtJs for my form submission

Re: How do configure struts convention plugin with struts-spring plugin with Action class mapped with annotations

2015-03-02 Thread bavon mike
i have tried but no result. On Mon, Mar 2, 2015 at 10:29 AM, Johannes Geppert wrote: > According to the spring plugin documentation [1] you need to setup > following constant in your struts config. > > > > > Best Regards > > Johannes > > [1] https://cwiki

Re: How do configure struts convention plugin with struts-spring plugin with Action class mapped with annotations

2015-03-01 Thread Johannes Geppert
According to the spring plugin documentation [1] you need to setup following constant in your struts config. Best Regards Johannes [1] https://cwiki.apache.org/confluence/display/WW/Spring+Plugin # web: http://www.jgeppert.com twitter: http

How do configure struts convention plugin with struts-spring plugin with Action class mapped with annotations

2015-03-01 Thread bavon mike
I am trying to configure spring plugin with strut 2 application, which is already running with convention plugin, so am using annotations. Am using ExtJs for my form submission which was initially working well until i introduced the spring plugin, now the the ajax request cannot locate the actions

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/

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

Spring Plugin

2013-08-26 Thread 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

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-18 Thread David Greene
cremental improvements for the 2.x line, by > all > > >> means, suggest what could be improved upon. :-) > > >> > > >> > > >> On Thu, Jul 18, 2013 at 11:08 AM, David Greene > > >> wrote: > > >> > > >> > Ah, ther

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-18 Thread Dave Newton
can tidy things up. > >> But if you got little incremental improvements for the 2.x line, by all > >> means, suggest what could be improved upon. :-) > >> > >> > >> On Thu, Jul 18, 2013 at 11:08 AM, David Greene > >> wrote: > >> > &g

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-18 Thread David Greene
>> >> > Ah, there you have it. >> > >> > Still though, that seems like a bug (or at least something that needs >> to be >> > defensively coded around for the struts2-spring plugin). >> > ActionContext.setFieldErrors(Map) is injected with some &

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-18 Thread David Greene
ll though, that seems like a bug (or at least something that needs to > be > > defensively coded around for the struts2-spring plugin). > > ActionContext.setFieldErrors(Map) is injected with some > > random Map from the Spring context when autowire by type > is > >

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-18 Thread Paul Benedict
to be > defensively coded around for the struts2-spring plugin). > ActionContext.setFieldErrors(Map) is injected with some > random Map from the Spring context when autowire by type is > selected. I'd imagine no one can use struts2-spring integration where > autowire by type is s

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-18 Thread David Greene
Ah, there you have it. Still though, that seems like a bug (or at least something that needs to be defensively coded around for the struts2-spring plugin). ActionContext.setFieldErrors(Map) is injected with some random Map from the Spring context when autowire by type is selected. I'd imagi

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-18 Thread Paul Benedict
You don't need @Autowired and @Inject in your Action with the Spring plugin. It will call any setter based on type (or name). On Thu, Jul 18, 2013 at 10:58 AM, David Greene wrote: > I think I see the "what" now, but no idea on the why: > > 20:59:47,536 INFO [rss.web.fi

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-18 Thread David Greene
ype from bean name 'rss.web.webwork.action.mx.signon.SignOnAction' via property 'servletRequest' to bean named 'com.sun.proxy.$Proxy43@4c7adb7' Spring is injecting servletContext, servletRequest, fieldErrors to the Action. Does the struts2-spring plugin just inject via setter

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-18 Thread David Greene
> > > > > > > > > > I'm reviewing the stacktrace and everything indicates that > there's > > no > > > > > > "INPUT" result (which is true); however, I don't know where or > how > > > it's > > >

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-18 Thread Dave Newton
ad of SUCCESS. Does anyone know what > class > > > > that > > > > > might be? > > > > > > > > > > -David > > > > > > > > > > > > > > > > > > > > On Thu, Jul 18, 2013 at 6:54 AM, David Greene < &g

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-18 Thread Paul Benedict
gt; > > > > > > Just the things noted in this document: > > > > > > > > > > http://struts.apache.org/release/2.0.x/docs/spring-plugin.html > > > > > > > > > > and you know what, that's the evil of google, I just noticed (while >

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-18 Thread Dave Newton
struts.apache.org/release/2.0.x/docs/spring-plugin.html > > > > > > > > and you know what, that's the evil of google, I just noticed (while > > > > googling from home) that this is the appropriate doc: > > > > > > > > ht

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-18 Thread David Greene
I'll start stepping through, but why would the Validation fail with struts2-spring plugin doing DI on the Actions, but it passes when it's not doing DI on the Actions. It seems quite arbitrary. On Thu, Jul 18, 2013 at 10:07 AM, Paul Benedict wrote: > I'd definitely would p

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-18 Thread Paul Benedict
I'd definitely would put a breakpoint in the ValidationInterceptor code and step through. Nothing in the Spring plugin is causing your issue; Spring just does dependency injection. On Thu, Jul 18, 2013 at 9:59 AM, David Greene wrote: > How would I figure out what is failing validat

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-18 Thread David Greene
t; > googling from home) that this is the appropriate doc: > > > > > > http://struts.apache.org/release/2.3.x/docs/spring-plugin.html > > > > > > I'm assuming this is my problem - I'll let you know later today. > > > > >

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-18 Thread Dave Newton
ater today. > > > > > > On Thu, Jul 18, 2013 at 12:38 AM, Lukasz Lenart >wrote: > > > >> 2013/7/18 David Greene : > >> > Unfortunately, I don't really have much more information to go on. > What > >>

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-18 Thread David Greene
gt; > Unfortunately, I don't really have much more information to go on. What >> > other information might be helpful to debug this? >> > >> > note: this is Struts 2.3.15 and Spring 3.2.3 >> > >> > Prior to adding Struts2-S

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-18 Thread bphill...@ku.edu
). Bruce -- View this message in context: http://struts.1045723.n5.nabble.com/Actions-now-require-INPUT-result-after-installing-struts2-spring-plugin-tp5713233p5713242.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-18 Thread David Greene
o debug this? > > > > note: this is Struts 2.3.15 and Spring 3.2.3 > > > > Prior to adding Struts2-Spring plugin & Spring, the Actions were all > happy. > > Have you changed anything in the configuration?

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-17 Thread Lukasz Lenart
2013/7/18 David Greene : > Unfortunately, I don't really have much more information to go on. What > other information might be helpful to debug this? > > note: this is Struts 2.3.15 and Spring 3.2.3 > > Prior to adding Struts2-Spring plugin & Spring, the Actions were a

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-17 Thread David Greene
Unfortunately, I don't really have much more information to go on. What other information might be helpful to debug this? note: this is Struts 2.3.15 and Spring 3.2.3 Prior to adding Struts2-Spring plugin & Spring, the Actions were all happy. Ideas? Thanks! On Wed, Jul 17, 2013 a

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-17 Thread Dave Newton
Without further info it's difficult to help. Sounds like validation or type conversion is failing. Dave On Wed, Jul 17, 2013 at 6:38 PM, David Greene wrote: > Afternoon everyone, > > I've recently installed the struts2-spring plugin and everything seems to > be workin

Actions now require INPUT result after installing struts2-spring plugin

2013-07-17 Thread David Greene
Afternoon everyone, I've recently installed the struts2-spring plugin and everything seems to be working as expected from the Spring perspective; however, Struts actions now require an "input" result to be defined when there was not one before. I have no idea why this is the ca

Re: Spring Plugin and Interceptor instantiation

2011-06-28 Thread Wes Wannemacher
ll use the resolved bean. If the name is not resolved as a bean in spring, struts will revert back to its normal mechanisms for instantiation. The other thing to be aware of is autowiring. If you set the spring plugin autowiring to byname or bytype, then the plugin will attempt to wire in dependencies that

Spring Plugin and Interceptor instantiation

2011-06-28 Thread roger
Hi If I use the struts 2 spring plugin, will the struts framework use spring to instantiate the standard filters (i.e. ExecuteAndWaitInterceptor) or does the struts framework continue to instantiate them? Regards -- View this message in context: http://struts.1045723.n5.nabble.com/Spring

Re: Can we use spring-plugin to inject a HttpServletRequest onto a bean?

2011-05-27 Thread Miguel
On Fri, 2011-05-27 at 09:00 -0400, Dave Newton wrote: > On Friday, May 27, 2011, Miguel wrote: > > Following my previous email and agreeing with you on this, I might, of > > course, get off the request hook by changing the request injection with > > injecting, for example, those two properties (u

Re: Can we use spring-plugin to inject a HttpServletRequest onto a bean?

2011-05-27 Thread Dave Newton
On Friday, May 27, 2011, Miguel wrote: > Following my previous email and agreeing with you on this,  I might, of > course, get off the request hook by changing the request injection with > injecting, for example, those two properties (username and ipaddress) to > this class, but the underlying prob

Re: Can we use spring-plugin to inject a HttpServletRequest onto a bean?

2011-05-27 Thread Miguel
On Fri, 2011-05-27 at 13:24 +0100, Miguel wrote: > Hi Dave, > > On Fri, 2011-05-27 at 08:10 -0400, Dave Newton wrote: > > > What specifically do you need an actual request for? This strikes me > > as coupling your design to the servlet spec, and there's rarely a > > strong reason to do that past

Re: Can we use spring-plugin to inject a HttpServletRequest onto a bean?

2011-05-27 Thread Andrew Lee
Dave is right that it suggests its bad design but if you really need it you can get your action to implement servletrequestaware: http://struts.apache.org/2.0.11/struts2-core/apidocs/org/apache/struts2/interceptor/package-summary.html Might be better to create a threadlocal in an interceptor to s

Re: Can we use spring-plugin to inject a HttpServletRequest onto a bean?

2011-05-27 Thread Miguel
Hi Dave, On Fri, 2011-05-27 at 08:10 -0400, Dave Newton wrote: > What specifically do you need an actual request for? This strikes me > as coupling your design to the servlet spec, and there's rarely a > strong reason to do that past the web layer itself. The idea on > injecting a request just se

Re: Can we use spring-plugin to inject a HttpServletRequest onto a bean?

2011-05-27 Thread Dave Newton
just > inject a mock HttpServletRequest. > > However, in my application, I fail to see how I can inject the proper > request onto that class. Struts injects a request onto the actions. I'm > using spring-plugin. But @autowire-ing the request doesn't work, and in > my sp

Can we use spring-plugin to inject a HttpServletRequest onto a bean?

2011-05-27 Thread Miguel
s a request onto the actions. I'm using spring-plugin. But @autowire-ing the request doesn't work, and in my springcontext.xml, I fail to see how to fetch struts' request (whose spring bean would be XXX in the following code): Is what I am trying to achieve possible? Regards, Miguel Almeida

Re: Struts 2-Spring Plugin with Spring 3 - Looks good so far...

2010-08-18 Thread Frans Thamura
anna to make SpringMVC and Struts2 work in one container, and using Spring 3 as the IoC and share Hibernate Session fActory On Thu, Aug 19, 2010 at 6:38 AM, Burton Rhodes wrote: > I have queried this list in the past about using Struts 2-Spring > Plugin with Spring 3. A few commented t

Struts 2-Spring Plugin with Spring 3 - Looks good so far...

2010-08-18 Thread Burton Rhodes
I have queried this list in the past about using Struts 2-Spring Plugin with Spring 3. A few commented that you've intergrated with no issue. While upgrading to 2.2.1, I decided to also try a Spring 3 upgrade as well. It seems to be working correctly. However, taking a closer look at the s

Re: Odd Interceptor Behaviour with Spring Plugin (possibly)

2010-04-28 Thread Wes Wannemacher
might have detected that validation failed and returned "input" before executing your action. If your interceptor is configured further down the stack, then it won't be reached. As for why it is behaving differently in an app that has the spring plugin vs. non-spring app... I wou

Odd Interceptor Behaviour with Spring Plugin (possibly)

2010-04-28 Thread RogerV
it in a project that uses the Spring plugin for some of my class instantiation and the interceptor never fires. I've added logging to the code in the Constructor and in the doIntercept method. In the first instance I see the constructor message and for every action called I see the doIntercept()

Struts2+spring plugin problem

2010-01-28 Thread baskar
Hi All,    I am new to struts2+spring and i am just trying to learn. I have added following in web.xml.         struts2         org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter                 struts2         /*                   org.springframework.web.co

RE: Struts 2 Spring Plugin Usage

2009-11-03 Thread Martin Gainty
t obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Tue, 3 Nov 2009 14:49:07 +0200 > Subject: Re: Struts 2 Spring Plugin Usage > From: roger.var...@googlemail.com > T

RE: Struts 2 Spring Plugin Usage

2009-11-03 Thread James Cook
The spring plugin will look by default auto wire your spring beans via type, it isn't tied to the getXXX(); method call. I myself only have the declaration and a setter, the autowiring injects the spring managed bean for me. Nothing is done with the getters DAO Class: public MyDA

Re: Struts 2 Spring Plugin Usage

2009-11-03 Thread Roger Varley
rvice > classes in the appcontext xml file.. But then that is because I am > weird... > Either I'm misunderstanding the responses or I'm not being clear (I'm also using the convention plugin along with the Spring plugin.) is sufficient to have the PasswordChecker in

RE: Struts 2 Spring Plugin Usage

2009-11-02 Thread James Cook
having my DAO and Service classes in the appcontext xml file.. But then that is because I am weird... -Original Message- From: Roger Varley [mailto:roger.var...@googlemail.com] Sent: 02 November 2009 17:22 To: Struts Users Mailing List Subject: Re: Struts 2 Spring Plugin Usage > > I

Re: Struts 2 Spring Plugin Usage

2009-11-02 Thread Roger Varley
> > If I am understanding you then that is fine. > > I often do the same, as I like to have a DAO as well as a Service layer. > So inject my DAO's into my Service and my Service into my actions. > > Good ole' code by interface approach :) > It's the means that I have to employ to go down the next

RE: Struts 2 Spring Plugin Usage

2009-11-02 Thread James Cook
:roger.var...@googlemail.com] Sent: 02 November 2009 16:16 To: user@struts.apache.org Subject: Struts 2 Spring Plugin Usage In Mannings "Struts 2 in Action" there's an example of Spring setter-injection by simply specifying the bean to be injected with a basic applicationC

Struts 2 Spring Plugin Usage

2009-11-02 Thread RogerV
injects the SecurityManager with the service and then injects the SecurityManager into my Action. Have I missed something or is this working as it should and I'm misunderstanding the book? Regards -- View this message in context: http://old.nabble.com/Struts-2-Spring-Plugin-Usage-tp26

Re: problem with spring plugin autowiring result tags

2009-06-26 Thread Angel D. Segarra
wired or not, I changed the bean id in Spring and now it's using the value I supplied to the result. Is there a way to avoid wiring for anything other than actions? Thanks, Angel --- On Fri, 6/26/09, Dave Newton wrote: > From: Dave Newton > Subject: Re: problem with spring plu

Re: problem with spring plugin autowiring result tags

2009-06-26 Thread Dave Newton
Angel D. Segarra wrote: Specifically I am trying out the JasperReports tutorial, everything works fine untile I include the Spring plugin, now it stops working because apparently it's trying to autowire the tags. I have no beans declared in Spring and the class atribute of the action is poi

problem with spring plugin autowiring result tags

2009-06-26 Thread Angel D. Segarra
Specifically I am trying out the JasperReports tutorial, everything works fine untile I include the Spring plugin, now it stops working because apparently it's trying to autowire the tags. I have no beans declared in Spring and the class atribute of the action is pointing to a full class

Re: Problem with Spring plugin

2009-05-02 Thread Dave Newton
YaronGo wrote: Okay, I get extra points for stupidity here. Instead of adding the plugin to the WEB-INF/lib, I put it in the tomcat lib path. That'll do it ;) Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org

Re: Problem with Spring plugin

2009-05-01 Thread YaronGo
ng the plugin that comes with struts 2.1.6... >> >> I'm not asking you to change the plugin, I'm asking you to change the >> Spring version. >> >> Dave >> >> >> - >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >>

Re: Problem with Spring plugin

2009-05-01 Thread YaronGo
7;m not asking you to change the plugin, I'm asking you to change the > Spring version. > > Dave > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-

Re: Problem with Spring plugin

2009-05-01 Thread Dave Newton
Dave Newton wrote: that's the set of jars that came with the struts 2.1.6 release. That doesn't they'll work ^ mean Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-m

Re: Problem with Spring plugin

2009-05-01 Thread Dave Newton
YaronGo wrote: nevertheless that's the set of jars that came with the struts 2.1.6 release. That doesn't they'll work--please try with Spring libraries that are all the same version. I would assume that version 2.0.8 would have worked. But you tried 2.0.8 mixed with 2.5.3. I'm using the

Re: Problem with Spring plugin

2009-05-01 Thread YaronGo
.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Problem-with-Spring-plugin-tp23328610p23341885.html Sent from the Struts - User mailing list archive at Nabble.com. ---

Re: Problem with Spring plugin

2009-05-01 Thread Dave Newton
YaronGo wrote: I tried instead to use the spring jars that came with the struts distribution (spring-context-2.5.3.jar, spring-core-2.0.8.jar, spring-beans-2.5.3.jar, spring-web-2.5.3.jar) and got the following: SEVERE: Exception sending context initialized event to listener instance of class or

Re: Problem with Spring plugin

2009-05-01 Thread YaronGo
erListener java.lang.NoClassDefFoundError: org/springframework/core/SmartClassLoader When I tried to find that class in any those jars, I came up blank. Ideas? Thanks! YaronGo YaronGo wrote: > > Hi, > > I'm having some problems using Struts2 and the Spring plugin using Tomca

Re: Problem with Spring plugin

2009-05-01 Thread Wes Wannemacher
Are you sure that's the right jar? I could be wrong, but version number makes me think that you could be grabbing the OSGI-ified spring jar. -Wes On Fri, May 1, 2009 at 1:21 AM, wrote: > Hi, > > I'm having some problems using Struts2 and the Spring plugin using Tomcat. >

Problem with Spring plugin

2009-04-30 Thread yarongolan
Hi, I'm having some problems using Struts2 and the Spring plugin using Tomcat. I'm using Struts 2.1.6 (and its appropriate plugin) and Spring Framework 2.5.6.SEC1 (spring.jar). When I try to add the listener to web.xml like so: org.springframework.web.context.ContextLoad

RE: Struts2 and spring plugin - Action class [springManagedProsocActionUpdateEmail] not found

2008-08-05 Thread Brad A Cupit
on August 05, 2008 8:14 AM, doahh <[EMAIL PROTECTED]> wrote: > I didn't see your reply before I sent my last post. > > You were absolutely correct and I must say that, looking > through that mass of config, well spotted. > > Thanks for your help Bard. Terrific!!! Brad Cupit Louisiana State Unive

RE: Struts2 and spring plugin - Action class [springManagedProsocActionUpdateEmail] not found

2008-08-05 Thread doahh
I didn't see your reply before I sent my last post. You were absolutely correct and I must say that, looking through that mass of config, well spotted. Thanks for your help Bard. -- View this message in context: http://www.nabble.com/Struts2-and-spring-plugin---Action-

RE: Struts2 and spring plugin - Action class [springManagedProsocActionUpdateEmail] not found

2008-08-05 Thread doahh
rst before seeking help. Thanks for your time. -- View this message in context: http://www.nabble.com/Struts2-and-spring-plugin---Action-class--springManagedProsocActionUpdateEmail--not-found-tp18814302p18830733.html Sent from the Struts - User mailing list archive at

RE: Struts2 and spring plugin - Action class [springManagedProsocActionUpdateEmail] not found

2008-08-05 Thread Brad A Cupit
I noticed that you have this: > >contextConfigLocation >/WEB-INF/applicationContext-security.xml > but the prosoc-spring-beans.xml is not listed, so Spring won't know to pick it up. I did see that prosoc-spring-beans.xml was listed as an init-param to the uk.co.prodia.prosoc.Config serv

RE: Struts2 and spring plugin - Action class [springManagedProsocActionUpdateEmail] not found

2008-08-05 Thread doahh
hat will provide the ultimate solution I am looking for but that is my current way of thinking. -- View this message in context: http://www.nabble.com/Struts2-and-spring-plugin---Action-class--springManagedProsocActionUpdateEmail--not-found-tp18814302p18829266.html Sent from the Struts - User mai

RE: Struts2 and spring plugin - Action class [springManagedProsocActionUpdateEmail] not found

2008-08-04 Thread doahh
application-properties-file prosoc.properties 1 -- View this message in context: http://www.nabble.com/Struts2-and-spring-plugin---Action-class--springManagedProsocActionUpdateEmail--not-found-tp18814302p18819168.html Sent from

RE: Struts2 and spring plugin - Action class [springManagedProsocActionUpdateEmail] not found

2008-08-04 Thread Brad A Cupit
ings conflict with what's in struts.xml Brad Cupit Louisiana State University - UIS -Original Message- From: doahh [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2008 2:07 PM To: user@struts.apache.org Subject: RE: Struts2 and spring plugin - Action class [springManagedProsocAction

RE: Struts2 and spring plugin - Action class [springManagedProsocActionUpdateEmail] not found

2008-08-04 Thread doahh
to autowire > by 'type' and it's picking 'name', that may be the symptom of something > else. > > which version of struts and spring are you using? > > Brad Cupit > Louisiana State University - UIS > > ------

RE: Struts2 and spring plugin - Action class [springManagedProsocActionUpdateEmail] not found

2008-08-04 Thread Brad A Cupit
> I have tried setting the scope="prototype" but it > didn't change the error I am seeing. right, that makes sense. This setting will stop you from having big problems later on though. > I am unsure what could be causing this but maybe someone could > clarify that the: > > com.opensymphony.xwork

RE: Struts2 and spring plugin - Action class [springManagedProsocActionUpdateEmail] not found

2008-08-04 Thread doahh
not being created, struts2 naturally fails to find it and throws the error I am seeing. I am unsure what could be causing this so any suggestions would be welcomed. -- View this message in context: http://www.nabble.com/Struts2-and-spring-plugin---Action-class--springManagedProsocActionUpdateE

RE: Struts2 and spring plugin - Action class [springManagedProsocActionUpdateEmail] not found

2008-08-04 Thread Brad A Cupit
I can't say that I see the problem, but I do see a few small issues. > class="uk.co.prodia.prosoc.struts2.action.ActionUpdateEmail"> > > be sure to add scope="prototype". S2 actions are per-request (since they have getters and setters with request specific information being set on the

Struts2 and spring plugin - Action class [springManagedProsocActionUpdateEmail] not found

2008-08-04 Thread doahh
have cross referenced that with the book 'Struts 2 In Action' and for me it doesn't work. These are the things I have done to configure spring with Struts2. 1) Added the struts2-spring-plugin-2.0.11.1.jar to my lib folder; 2) Added the following to my spring-config file:

Re: [S2] Problem injecting String with Spring plugin

2008-07-08 Thread Gabriel Belingueres
e the ServletDispatcherResult has a constructor with a String parameter, but no constructor taking an Integer. >From this I guess that something (Struts? the Spring plugin?) is trying to set the bean into the wrong object? 2008/7/7 Gabriel Belingueres <[EMAIL PROTECTED]>: > Thanks Musac

Re: [S2] Problem injecting String with Spring plugin

2008-07-07 Thread Gabriel Belingueres
gt; > > > 2) In the above log trace, which corresponds to the execution of my > > action, the other Spring dependencies are injected correctly (before > > calling the action's execute() method) > > > > 3) The templateDir is NOT injected at this point (don't know why.) > > > > 4) AFTER my action&

Re: [S2] Problem injecting String with Spring plugin

2008-07-07 Thread Musachy Barroso
; calling the action's execute() method) > > 3) The templateDir is NOT injected at this point (don't know why.) > > 4) AFTER my action's execute() method, templateDir _is_ injected into > a ServletDispatcherResult instance!!: > 2008-07-07 16:52:40,562 DEBUG > (org.springframework.beans.factory.support.DefaultListab

Re: [S2] Problem injecting String with Spring plugin

2008-07-07 Thread Gabriel Belingueres
R my action's execute() method, templateDir _is_ injected into a ServletDispatcherResult instance!!: 2008-07-07 16:52:40,562 DEBUG (org.springframework.beans.factory.support.DefaultListableBeanFactory:601) - Autowiring by type from bean name 'org.apache.struts2.dispatcher.ServletDispatcherResult' via constructor to bean named 'te

Re: [S2] Problem injecting String with Spring plugin

2008-07-07 Thread Musachy Barroso
> /WEB-INF/templates/ > > > but the Spring plugin does not try to inject it (It works with my > other injected, non String class objects though) > > It is OK that the plugin does not try to inject String objects? > (because they later can be overwritten with a parameter?) >

[S2] Problem injecting String with Spring plugin

2008-07-07 Thread Gabriel Belingueres
Hi, I want to inject a String defined in the Spring's applicationContext.xml file like this: /WEB-INF/templates/ but the Spring plugin does not try to inject it (It works with my other injected, non String class objects though) It is OK that the plugin does not try to inject String ob

Trouble configuring spring plugin

2008-02-08 Thread Toni Lyytikäinen
Hi, I recently started converting an older project to Struts 2.0.11 and maven. The project uses spring plugin for injecting certain dependencies into the actions. The problem is, that I would like to use the constructor autowiring, as described in the configuration file (struts.properties

Re: struts2 spring plugin

2008-01-08 Thread GF
Yes, on Spring 2 it is : scope="prototype" On Jan 7, 2008 8:41 AM, Joachim Ansorg <[EMAIL PROTECTED]> wrote: > Brian, > I guess you are using Spring 2.x. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: struts2 spring plugin

2008-01-06 Thread Joachim Ansorg
Brian, I guess you are using Spring 2.x. I think you have to use scope="prototype" (or scope="session" if you need it) instead of singleton="false". Joachim I have read through the spring plugin wiki page http://struts.apache.org/2.0.11/docs/spring-plugin.html f

Re: struts2 spring plugin

2008-01-04 Thread Dave Newton
--- Brian Relph <[EMAIL PROTECTED]> wrote: > I want my actions to be completely managed by spring, so i am declaring > them in applicationContext.xml. Just FYI, you don't need to do that if you use Spring as the default object factory (is that the default? I don't remember.) > Is this ["singleton

struts2 spring plugin

2008-01-04 Thread Brian Relph
I have read through the spring plugin wiki page http://struts.apache.org/2.0.11/docs/spring-plugin.html for struts2. I want my actions to be completely managed by spring, so i am declaring them in applicationContext.xml. http://www.springframework.org/schema/beans"; xmlns:xsi="htt

struts2-spring-plugin-2.0.9.jar

2007-10-25 Thread stanlick
. Scott -- View this message in context: http://www.nabble.com/struts2-spring-plugin-2.0.9.jar-tf4694486.html#a13418846 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

[ANN] Groovy Works 0.1 - Struts Groovy Spring Plugin

2007-07-30 Thread Mark Menard
I've just pushed the 0.1 release of the Groovy Works plugin out the door. The Groovy Works plugin enables dynamic compilation of Struts Actions written in Groovy, as well as integration with Spring's scripting support. Using this plugin you can start your Struts application with mvn jetty:run and

Re: [S2] Problems using spring plugin and struts 2.0.6

2007-02-27 Thread João Vieira da Luz
;ve send you. > > On 2/27/07, cilquirm <[EMAIL PROTECTED]> wrote: >> >> Technically, this isn't necessary when you have the >> struts-spring-plugin.jar >> in your WEB-INF/lib >> since it's already specified by the struts-plugin.xml file >>

Re: [S2] Problems using spring plugin and struts 2.0.6

2007-02-27 Thread cilquirm
ring-plugin.jar >> in your WEB-INF/lib >> since it's already specified by the struts-plugin.xml file >> >> I think, however, seeing a more complete stack trace for the CNFE would >> be >> helpful since I have 2.0.6 with the spring plugin just fine. >> >

Re: Problems using spring plugin and struts 2.0.6

2007-02-27 Thread João Vieira da Luz
, this isn't necessary when you have the struts-spring-plugin.jar in your WEB-INF/lib since it's already specified by the struts-plugin.xml file I think, however, seeing a more complete stack trace for the CNFE would be helpful since I have 2.0.6 with the spring plugin just fine. Paul S

RE: Problems using spring plugin and struts 2.0.6

2007-02-27 Thread cilquirm
Technically, this isn't necessary when you have the struts-spring-plugin.jar in your WEB-INF/lib since it's already specified by the struts-plugin.xml file I think, however, seeing a more complete stack trace for the CNFE would be helpful since I have 2.0.6 with the spring plugin

Re: Problems using spring plugin and struts 2.0.6

2007-02-27 Thread João Vieira da Luz
: user@struts.apache.org Subject: Problems using spring plugin and struts 2.0.6 We've upgraded to struts 2.0.6 and we can't make spring-plugin work. The spring factory isn't being called and we are getting ClassNotFoundException for the beans that reference spring. This is working with struts

  1   2   >