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

spring integration

2013-01-26 Thread fusillator
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.apache.catalina.core.StandardContext startInternal

Re: Struts, spring integration while using struts annotations

2012-03-04 Thread Łukasz Lenart
2012/3/5 Puneet Babbar 2 : > This may sound dumb, but I am new and don’t know about CLA. > What is CLA? https://cwiki.apache.org/WW/editing-the-documentation.html > And where can I file the issue? https://issues.apache.org/jira/browse/WW Regards -- Łukasz http://www.lenart.org.pl/ mobile +48

RE: Struts, spring integration while using struts annotations

2012-03-04 Thread Puneet Babbar 2
Subject: Re: Struts, spring integration while using struts annotations 2012/3/5 Puneet Babbar 2 : > How can we get this added? There are two ways, full CLA and send to ASF or fill an issue with description of the problem and someone will update the docs. Kind regards -- Łukasz h

Re: Struts, spring integration while using struts annotations

2012-03-04 Thread Łukasz Lenart
2012/3/5 Puneet Babbar 2 : > How can we get this added? There are two ways, full CLA and send to ASF or fill an issue with description of the problem and someone will update the docs. Kind regards -- Łukasz http://www.lenart.org.pl/ mobile +48 606 323 122, office +27 11 0838747 Warszawa JUG con

RE: Struts, spring integration while using struts annotations

2012-03-04 Thread Puneet Babbar 2
o" in context of using annotataions using convention plugin. How can we get this added? Regards Puneet babbar -Original Message- From: Łukasz Lenart [mailto:lukasz.len...@googlemail.com] Sent: Wednesday, February 29, 2012 5:34 PM To: Puneet Babbar 2; Struts Users Mailing List Subje

Re: Struts, spring integration while using struts annotations

2012-02-29 Thread Łukasz Lenart
o: Puneet Babbar 2 > Cc: Struts Users Mailing List > Subject: Re: Struts, spring integration while using struts annotations > > 2012/2/29 Puneet Babbar 2 : >> Tried after you suggested it, but doesn’t work :( > > Did you try to debug SpringObjectFactory#buildBean methods ? >

Re: Struts, spring integration while using struts annotations

2012-02-29 Thread Łukasz Lenart
2012/2/29 Puneet Babbar 2 : > Tried after you suggested it, but doesn’t work :( Did you try to debug SpringObjectFactory#buildBean methods ? Regards -- Łukasz http://www.lenart.org.pl/ mobile +48 606 323 122, office +27 11 0838747 Warszawa JUG conference - Confitura http://confitura.pl/ --

RE: Struts, spring integration while using struts annotations

2012-02-29 Thread Puneet Babbar 2
Users Mailing List Subject: Re: Struts, spring integration while using struts annotations Hi, there is no need to define a spring bean for your struts actions. At least when you use a struts.xml. I have not tried what happens when you use annotations. As far as I now, all struts actions will be

RE: Struts, spring integration while using struts annotations

2012-02-29 Thread Puneet Babbar 2
Tried after you suggested it, but doesn’t work :( -Puneet -Original Message- From: Łukasz Lenart [mailto:lukasz.len...@googlemail.com] Sent: Wednesday, February 29, 2012 2:12 PM To: Struts Users Mailing List Subject: Re: Struts, spring integration while using struts annotations 2012/2

Re: Struts, spring integration while using struts annotations

2012-02-29 Thread Per Pascal Grube
he action object I have created using > spring to be used by struts to process the requests when using convention > plugin > > The Struts spring integration works fine when I used the normal struts.xml > approach(not using convention plugin) > > Now can you help me out? > > &g

Re: Struts, spring integration while using struts annotations

2012-02-29 Thread Per Pascal Grube
he action object I have created using > spring to be used by struts to process the requests when using convention > plugin > > The Struts spring integration works fine when I used the normal struts.xml > approach(not using convention plugin) > > Now can you help me out? > > &g

Re: Struts, spring integration while using struts annotations

2012-02-29 Thread Łukasz Lenart
2012/2/29 Puneet Babbar 2 : > Thanks for replying to my post, I have already checked that link but still no > clue as to how to make spring plugin work with the convention plugin. > > Suppose I have an Action  - > @Action("/login-page") Did you try to use "login-page" ? Namespace "/" should be de

RE: Struts, spring integration while using struts annotations

2012-02-28 Thread Puneet Babbar 2
the action object I have created using spring to be used by struts to process the requests when using convention plugin The Struts spring integration works fine when I used the normal struts.xml approach(not using convention plugin) Now can you help me out? Regards Puneet -Original Message

Re: Struts, spring integration while using struts annotations

2012-02-28 Thread Steven Yang
check this http://struts.apache.org/2.0.8/docs/spring-plugin.html you can use spring along with the annotation in the convention-plugin such as @Action, etc On Tue, Feb 28, 2012 at 6:01 PM, Puneet Babbar 2 wrote: > Hi, > > I am using struts annotations with my applications, I need to add spring

struts-spring integration question

2010-03-03 Thread Barry Kern
Hi, I have been trying to implement some checks into my application during startup by ensuring that my dependencies are checked. I tried putting @Required on the setter in my action and I get this message during startup: INFO XmlConfigurationProvider:380 - Unable to verify action class [xxx] exi

Re: S2-portlet and spring integration

2009-07-21 Thread Edwin Quita
hi Norris, i have here a portlet archetype that has spring integration: http://edwin.quita.googlepages.com/portlet-archetype.zip http://edwin.quita.googlepages.com/service-archetype.zip http://edwin.quita.googlepages.com/Maven2HowTo.doc you can use the project pom files as reference. HTH

S2-portlet and spring integration

2009-07-21 Thread Norris Shelton
I have a Struts2-portlet application that works. The correct action is executed, but I get a NPE when I try to access my spring-injected beans. The logs do show that the spring beans were constructed correctly. I do have the struts2-spring-plugin included. Norris Shelton Software Engineer

Struts2 rest plugin, spring integration

2009-03-04 Thread mahanare
Hi, Is there any specific set of instructions to be followed to do the spring integration with struts2 rest plugin? Please do let me know. -- View this message in context: http://www.nabble.com/Struts2-rest-plugin%2C-spring-integration-tp22346177p22346177.html Sent from the Struts - User

Re: Struts2-Spring Integration Issue

2009-02-18 Thread Wes Wannemacher
ervice,DAO etc. and if I > can wire them up. > > Please let me know if you have better ideas. > > Thanks a Lot, > Anand > > > -Original Message- > From: Dale Newfield [mailto:d...@newfield.org] > Sent: Tuesday, February 17, 2009 7:08 PM > To: Struts Users M

RE: Struts2-Spring Integration Issue

2009-02-18 Thread Sundararaman, Anand
wire them up. Please let me know if you have better ideas. Thanks a Lot, Anand -Original Message- From: Dale Newfield [mailto:d...@newfield.org] Sent: Tuesday, February 17, 2009 7:08 PM To: Struts Users Mailing List Subject: Re: Struts2-Spring Integration Issue Wes Wannemacher wrote

Re: Struts2-Spring Integration Issue

2009-02-17 Thread Dale Newfield
Wes Wannemacher wrote: I jumped into the thread late and didn't see your original problems. I tend to peruse for things I can help on, so I'm not sure if I have an answer for your original problem :( I wasn't the original poster. I don't think I ever saw the original message, so let's hope t

Re: Struts2-Spring Integration Issue

2009-02-17 Thread Wes Wannemacher
On Tuesday 17 February 2009 19:19:08 Dale Newfield wrote: > > > The interceptor depends on the SpringObjectFactory, so it is necessary to > > have the Spring plugin installed. > > Is it appropriate for struts to be distributed with an interceptor that > doesn't work without the plugin? Doesn't tha

Re: Struts2-Spring Integration Issue

2009-02-17 Thread Dale Newfield
Wes Wannemacher wrote: http://struts.apache.org/2.1.6/struts2- core/apidocs/com/opensymphony/xwork2/spring/interceptor/ActionAutowiringInterceptor.html It's a bit confusing, but it really depends on how you want autowiring to happen. I've been happily using the spring plugin which wires up my

Re: Struts2-Spring Integration Issue

2009-02-17 Thread Wes Wannemacher
On Tuesday 17 February 2009 15:03:20 Dale Newfield wrote: > Wes Wannemacher wrote: > > There is a Spring autowiring interceptor that will autowire services into > > your actions for you, even if you don't use Spring to instantiate the > > actions. > > OK, now I'm confused. What's the interaction b

Re: Struts2-Spring Integration Issue

2009-02-17 Thread Dale Newfield
Wes Wannemacher wrote: There is a Spring autowiring interceptor that will autowire services into your actions for you, even if you don't use Spring to instantiate the actions. OK, now I'm confused. What's the interaction between the "autowiring" interceptor and the spring plugin? If we're us

Re: Struts2-Spring Integration Issue

2009-02-16 Thread Wes Wannemacher
On Monday 16 February 2009 13:47:50 Sundararaman, Anand wrote: > The validation is fine as it works when I scope my actions as singleton in > the applicationContext.xml. Problem happens only when I scope them as > prototype. > > When you say that Struts will try to use Spring to create all framewor

RE: Struts2-Spring Integration Issue

2009-02-16 Thread Sundararaman, Anand
: Struts Users Mailing List Subject: Re: Struts2-Spring Integration Issue 2009/2/15 Sundararaman, Anand : > No it did not work with that change as well. > > Initially I was getting a "NoSuchMethodException" on the method activateUser > in the action class. Now after the change you s

Re: Struts2-Spring Integration Issue

2009-02-15 Thread Lukasz Lenart
2009/2/15 Sundararaman, Anand : > No it did not work with that change as well. > > Initially I was getting a "NoSuchMethodException" on the method activateUser > in the action class. Now after the change you suggested, it asked for an > "input" result type in the action class. If I give the "inpu

RE: Struts2-Spring Integration Issue

2009-02-14 Thread Sundararaman, Anand
t type it just does not go to that method nor the execute method and comes back to the original screen with action errors displayed. From: Lukasz Lenart [lukasz.len...@googlemail.com] Sent: Saturday, February 14, 2009 10:39 AM To: Struts Users Mailing Li

RE: Struts2-Spring Integration Issue

2009-02-14 Thread Sundararaman, Anand
No I did not try that. I will try that and let you know. Thanks for the help and time. From: Lukasz Lenart [lukasz.len...@googlemail.com] Sent: Saturday, February 14, 2009 10:39 AM To: Struts Users Mailing List Subject: Re: Struts2-Spring Integration

Re: Struts2-Spring Integration Issue

2009-02-14 Thread Lukasz Lenart
2009/2/14 Sundararaman, Anand : > > /jsp/user/useractivated.jsp > /jsp/user/login.jsp > > That's really strange, did you try to use method="doActivateUser" ? Regards -- Lukasz http://www.lenart.org.pl/ -

RE: Struts2-Spring Integration Issue

2009-02-14 Thread Sundararaman, Anand
email.com] Sent: Saturday, February 14, 2009 10:01 AM To: Struts Users Mailing List Subject: Re: Struts2-Spring Integration Issue Could you copy-paste your struts.xml and Spring config regarding actions? Regards -- Lukasz http://www.lenart.org.pl/ ---

RE: Struts2-Spring Integration Issue

2009-02-14 Thread Sundararaman, Anand
2009 10:01 AM To: Struts Users Mailing List Subject: Re: Struts2-Spring Integration Issue Could you copy-paste your struts.xml and Spring config regarding actions? Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e

Re: Struts2-Spring Integration Issue

2009-02-14 Thread Lukasz Lenart
Could you copy-paste your struts.xml and Spring config regarding actions? Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@strut

RE: Struts2-Spring Integration Issue

2009-02-14 Thread Sundararaman, Anand
Hi Lukasz, I am not using AOP. Will it make any difference if I use the Spring-AOP? Thanks, Anand From: Lukasz Lenart [lukasz.len...@googlemail.com] Sent: Saturday, February 14, 2009 9:51 AM To: Struts Users Mailing List Subject: Re: Struts2-Spring

Re: Struts2-Spring Integration Issue

2009-02-14 Thread Lukasz Lenart
2009/2/14 Sundararaman, Anand : > It seems to me that I will never be able to use the Struts non-execute (do*) > methods, if I integrate with Spring. I need Spring Framework since it helps a > lot with hibernate calls. > > Would anyone be able to guide me, if I am missing something. Do you use A

Struts2-Spring Integration Issue

2009-02-14 Thread Sundararaman, Anand
Hello, I am using Struts2-Spring-Hibernate in my web application. I have configured the Struts-Spring plugin to make the Spring framework load the action classes. I am facing a problem with the non-execute (do*) methods in my action classes. In my applicationcontext.xml, if I do not specify an

Re: OzJpetstore, Page oriented Struts sample with Spring integration

2007-07-16 Thread HiDe
-with-Spring-integration-tf3968014.html#a11615814 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

OzJpetstore, Page oriented Struts sample with Spring integration

2007-06-22 Thread Tak
mplex development, please see its page oriented implementation. I hope you will see that its practice simplify your work. With OzStruts 1.8, only path and forward information is required in action-mapping in struts-config.xml. Here is what it brings. ---(OzStruts 1.8)- 1. Spring integr

Re: Spring integration with Struts-2.0.2

2006-12-07 Thread liu kaipeng
Thanks to Tomas and Wendy, it work fine! 2006/12/8, Wendy Smoak <[EMAIL PROTECTED]>: On 12/7/06, liukaipeng <[EMAIL PROTECTED]> wrote: > Is there any change to this short hand name for spring, or I'm missing some configuration point newly added to struts-2.0.2? Try using struts2-core and the

Re: Spring integration with Struts-2.0.2

2006-12-07 Thread Wendy Smoak
On 12/7/06, liukaipeng <[EMAIL PROTECTED]> wrote: Is there any change to this short hand name for spring, or I'm missing some configuration point newly added to struts-2.0.2? Try using struts2-core and the struts2-spring-plugin, as Tomas suggested. (I think the 'all' jar will go away, I don'

Re: Spring integration with Struts-2.0.2

2006-12-07 Thread Tomas Carlsson
This is a long-shot: org.apache.struts struts2-spring-plugin 2.0.2-SNAPSHOT /tomas On 12/8/06, liukaipeng <[EMAIL PROTECTED]> wrote: Wiki page http://cwiki.apache.org/WW/spring.html demonstrate how to integrate spring with struts2, that in detail, set struts.objectFact

Spring integration with Struts-2.0.2

2006-12-07 Thread liukaipeng
Wiki page http://cwiki.apache.org/WW/spring.html demonstrate how to integrate spring with struts2, that in detail, set struts.objectFactory = spring to use spring as the object factory. This works well with the struts-2.0.1 release, but when I switch the jar file to struts2-all-2.0.2-SNAPSHOT.ja

RE: Struts/Spring integration & Struts 1.3

2005-04-05 Thread Marco Mistroni
Struts Users Mailing List' Subject: Re: Struts/Spring integration & Struts 1.3 Marco: This is clumsy, but you could probably figure out a way to instantiate commands and chains as Spring managed beans and then, rather than looking them up in a catalog, you could look them up in the Ap

Re: Struts/Spring integration & Struts 1.3

2005-04-05 Thread Ted Husted
Since Struts 1.3.x is unreleased, a better place for a thread like this might be the DEV list. On Apr 4, 2005 11:53 PM, Joe Germuska <[EMAIL PROTECTED]> wrote: > Marco: > > This is clumsy, but you could probably figure out a way to > instantiate commands and chains as Spring managed beans and the

Re: Struts/Spring integration & Struts 1.3

2005-04-04 Thread Joe Germuska
Marco: This is clumsy, but you could probably figure out a way to instantiate commands and chains as Spring managed beans and then, rather than looking them up in a catalog, you could look them up in the ApplicationContext. If you did this, then it would be easy to set up your commands with re

Struts/Spring integration & Struts 1.3

2005-04-04 Thread Marco Mistroni
Hello all, I was wondering.. is using DelegatingActionProxy plus The Spring plugin for Struts the only way to integrate Spring beans Into struts? I am currently trying out Struts 1.3, and I would like to set my Spring beans in the command rather than in the action class.., or at least Make