Re: Issue with ExecuteAndWait when using Spring Session (Redis)

2023-09-25 Thread Burton Rhodes
PM Subject Re: Issue with ExecuteAndWait when using Spring Session (Redis) Depending on your deployment architecture, this exec and wait may no longer be the right strategy. Yes, by managing the executor pool you can bound how many non-http-serving threads (jobs) are executing concurrently

Re: Issue with ExecuteAndWait when using Spring Session (Redis)

2023-09-24 Thread Dale Newfield
re time zone differences on different hosts can't impact the timeout > checks. Is it safe, even in the face of a network disconnection, so > eventually the evicted leader can reappear? Would one of them detect the > issue and kill itself?) > > -Dale > >> On Sep 23, 2

Re: Issue with ExecuteAndWait when using Spring Session (Redis)

2023-09-23 Thread Dale Newfield
rent hosts can't impact the timeout checks. Is it safe, even in the face of a network disconnection, so eventually the evicted leader can reappear? Would one of them detect the issue and kill itself?) -Dale > On Sep 23, 2023, at 4:23 PM, Burton Rhodes wrote: > > I am attempting

Issue with ExecuteAndWait when using Spring Session (Redis)

2023-09-23 Thread Burton Rhodes
I am attempting to implement a centralized session store to an existing application using Spring Session (Redis) and Struts. I have everything working on a basic level, but I am running into an issue when a Struts Action uses ExecuteAndWait. The refresh attempts don't seem to pick up

Re: Struts 6.1.1. // Ok to migrate to JDK 17, Spring 6, Hibernate 6?

2023-03-01 Thread John
From "Lukasz Lenart" To "Struts Users Mailing List" Date 3/1/2023 1:12:27 AM Subject Re: Struts 6.1.1. // Ok to migrate to JDK 17, Spring 6, Hibernate 6? wt., 28 lut 2023 o 13:11 Burton Rhodes napisał(a):  Our team is considering a migration to Spring 6 and Hibernate 6 -

Re: Struts 6.1.1. // Ok to migrate to JDK 17, Spring 6, Hibernate 6?

2023-03-01 Thread Burton Rhodes
Well that's a good start. We may begin testing this to see what happens. Lukasz - many thanks as always. -- Original Message -- From "Lukasz Lenart" To "Struts Users Mailing List" Date 3/1/2023 1:12:27 AM Subject Re: Struts 6.1.1. // Ok to migrate to JDK

Re: Struts 6.1.1. // Ok to migrate to JDK 17, Spring 6, Hibernate 6?

2023-02-28 Thread Lukasz Lenart
wt., 28 lut 2023 o 13:11 Burton Rhodes napisał(a): > > Our team is considering a migration to Spring 6 and Hibernate 6 - which > require JDK 17 and use the new jakarta packages (among other things). Is > there anything within Struts 6.1.1 that would prevent such a migration? Rather

Struts 6.1.1. // Ok to migrate to JDK 17, Spring 6, Hibernate 6?

2023-02-28 Thread Burton Rhodes
Our team is considering a migration to Spring 6 and Hibernate 6 - which require JDK 17 and use the new jakarta packages (among other things). Is there anything within Struts 6.1.1 that would prevent such a migration?

Re: ./mvnw spring-boot:run struts equivalent

2020-06-06 Thread Zahid Rahman
w a > tutorial, > > > including the minimal one at > > > > > > > > https://struts.apache.org/getting-started/how-to-create-a-struts2-web-application.html > > > . > > > > > > > > > On Thu, May 28, 2020 at 21:51 Zahid Rahman

Re: Validation using Struts2-spring

2020-06-04 Thread M Huzaifah
Validations Annotation. Thank You All > On 4 Jun 2020, at 12.00, M Huzaifah wrote: > > Hii Guys, > > i’am stuck with Validation in Struts2 using struts2-spring plugin. > struts version : 2.5.22 > spring version : 5.2.1.RELEASE > > my validators.xml in classpath: > &

Validation using Struts2-spring

2020-06-03 Thread M Huzaifah
Hii Guys, i’am stuck with Validation in Struts2 using struts2-spring plugin. struts version : 2.5.22 spring version : 5.2.1.RELEASE my validators.xml in classpath: http://struts.apache.org/dtds/xwork-validator-definition-1.0.dtd";> my struts.xml config form constan

Re: ./mvnw spring-boot:run struts equivalent

2020-05-30 Thread rkrk
w-to-create-a-struts2-web-application.html > > . > > > > > > On Thu, May 28, 2020 at 21:51 Zahid Rahman wrote: > > > > > Hi, > > > I git cloned https://github.com/apache/struts this. > > > then I ran ./mvnw clean package install. > > &g

Re: ./mvnw spring-boot:run struts equivalent

2020-05-30 Thread James Chaplin
ted/how-to-create-a-struts2-web-application.html > > . > > > > > > On Thu, May 28, 2020 at 21:51 Zahid Rahman wrote: > > > > > Hi, > > > I git cloned https://github.com/apache/struts this. > > > then I ran ./mvnw clean package install. > &

Re: ./mvnw spring-boot:run struts equivalent

2020-05-29 Thread Zahid Rahman
://struts.apache.org/getting-started/how-to-create-a-struts2-web-application.html > . > > > On Thu, May 28, 2020 at 21:51 Zahid Rahman wrote: > > > Hi, > > I git cloned https://github.com/apache/struts this. > > then I ran ./mvnw clean package install. > > &

Re: ./mvnw spring-boot:run struts equivalent

2020-05-28 Thread Dave Newton
Zahid Rahman wrote: > Hi, > I git cloned https://github.com/apache/struts this. > then I ran ./mvnw clean package install. > > is there a struts equivalent *./mvnw spring-boot:run* to run it ? > I tried ./mvnw jetty:run then didn't work. > > > Back

./mvnw spring-boot:run struts equivalent

2020-05-28 Thread Zahid Rahman
Hi, I git cloned https://github.com/apache/struts this. then I ran ./mvnw clean package install. is there a struts equivalent *./mvnw spring-boot:run* to run it ? I tried ./mvnw jetty:run then didn't work. Backbutton.co.uk ¯\_(ツ)_/¯ <http://www.backbutton.co.uk>

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

2019-12-15 Thread John Bush
Simon, Note that it also states that you can declare newer versions of Spring if you wish. I currently support a number of web applications using the plugin and Spring v5.1.9 without any problems. John On 12/14/2019 4:16 AM, Yasser Zamani wrote: Hi, Thank you so much! Yes we will upgrade

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

2019-12-14 Thread Yasser Zamani
Hi, Thank you so much! Yes we will upgrade Spring gradually during Struts 2.6.x releases - Struts 2.5 is under maintenance mode only for security releases. However, recent Struts 2.5.22 uses Spring 4.3.25.RELEASE [1]; doesn't it work for you? Regards. [1] https://mvnrepository.com/art

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: 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 +

Spring Boot + Struts2 Convention Plugin Not Working

2019-03-11 Thread Rubens Gomes
I using Spring Boot + Struts2, and the convention plugin is not working. That, is the request URL paths are not being automatically mapped to their corresponding action classes at all. Spring Boot: 1.5.19.RELEASE Struts2: 2.5.20 Java VM JDK 1.8 Maven I have the struts2-convention-plugin in

Re: Is struts better than spring framework?

2018-11-09 Thread Dave Newton
Yes? No? Apples and oranges. Struts 2 is an MVC web framework. Spring MVC is the Spring equivalent. Spring is an all-encompassing framework for many things, one small part of that is the web. In any case, "better" is subjective. Dave On Fri, Nov 9, 2018 at 12:47 PM ssmtpm

Is struts better than spring framework?

2018-11-09 Thread ssmtpmailtesting ssmtpmailtesting
Is struts better than spring framework? - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

AW: Struts2 2.3.16 integration with Spring Boot 1.3.5

2017-12-22 Thread Christoph.Nenning
> Hello, > > I'm struggling for some days to make Spring Boot find my Action classes and > couldn't make it done. > > Are you using annotations from the convention plugin? If yes, what did you > do? > > Thanks. > > Hi, in my apps it's o

Re: Struts2 2.3.16 integration with Spring Boot 1.3.5

2017-12-21 Thread Luiz Veronesi
Hello, I'm struggling for some days to make Spring Boot find my Action classes and couldn't make it done. Are you using annotations from the convention plugin? If yes, what did you do? Thanks. -- Sent from: http://struts.1045723.n5.nabble.com/Struts-User-f34

Re: How to put Spring object in Struts application scope on web startup?

2017-10-06 Thread Lukasz Lenart
Do you have any other idea how it's supposed to be solved? An interface with a struts.xml entry to bridge Spring bean with a Struts scope? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2017-10-01 5:16 GMT+02:00 Burton Rhodes : > Nice - I'll take a closer look. That

Re: How to put Spring object in Struts application scope on web startup?

2017-09-30 Thread Burton Rhodes
cess the object with the following: > > > > Map application = (Map) ActionContext.getContext().get("application"); > > application.get("myApplicationSettings"); > > ---or--- > > > > > > I just couldn't figure out a

Re: How to put Spring object in Struts application scope on web startup?

2017-09-30 Thread Yasser Zamani
-or--- > > > I just couldn't figure out a way to put the object in the struts > application scope within a listener during startup. Does that make sense? > > On Fri, Sep 29, 2017 at 11:50 AM, Adam Brin > wrote: > >> it’s a mixture of things: >&g

Re: How to put Spring object in Struts application scope on web startup?

2017-09-29 Thread Burton Rhodes
tup. Does that make sense? On Fri, Sep 29, 2017 at 11:50 AM, Adam Brin wrote: > it’s a mixture of things: > > * Struts.xml should be setup to know about spring: > value="org.apache.struts2.spring.StrutsSpringObjectFactory" /> > value="true"

Re: How to put Spring object in Struts application scope on web startup?

2017-09-29 Thread Adam Brin
it’s a mixture of things: * Struts.xml should be setup to know about spring: * register the appropriate application listeners * add the @Scope variables to controllers -- _ Adam Brin Director of Technology, Digital

How to put Spring object in Struts application scope on web startup?

2017-09-29 Thread Burton Rhodes
How do you put a Spring object into the Struts application scope Map on startup of a web application? I have 2 listeners that I thought would be the usual suspects, but have not had success yet. I have a ServletContextListener class but on the contextInitialized(ServletContextEvent event) method

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

2017-08-01 Thread Rubens Gomes
I am back to *no* longer using the spring+struts plugin. I chose to have actions be created by the struts framework instaead to avoid issues. Sent from Outlook From: Christoph Nenning Sent: Monday, July 31, 2017 3:49 AM To: Struts Users Mailing List

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

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

2017-07-30 Thread Rubens Gomes
I am using the Spring + Struts 2 Plugin, and I am getting an error from the Struts2 ParameterInteceptor (see below) when setting request parameters sent on the URL. My Actions are being created by the Spring factory. And I *do* have the proper properties setters in my class (see below). In

Re: Struts2 2.3.16 integration with Spring Boot 1.3.5

2016-10-16 Thread Lukasz Lenart
2016-10-15 12:07 GMT+02:00 Rodman, Kenneth J : > Hi, > In case anyone else runs into the same problem, it was nothing to do with > Struts 2 and Spring Boot 1.3.5. They both work fine together. The problem was > running the application from Intellij IDE. It corrupts some of the pathwa

Re: Struts2 2.3.16 integration with Spring Boot 1.3.5

2016-10-15 Thread Rodman, Kenneth J
Hi, In case anyone else runs into the same problem, it was nothing to do with Struts 2 and Spring Boot 1.3.5. They both work fine together. The problem was running the application from Intellij IDE. It corrupts some of the pathways and so was not able to find the JSP pages. Once I packaged up

Re: Struts 2 and Spring 4, how to get the validator or action object from spring application context

2016-09-26 Thread Lukasz Lenart
2016-09-26 11:22 GMT+02:00 Alireza Fattahi : > We are using Struts 2.5 and spring 4. The struts is configured spring as > mentioned in https://struts.apache.org/docs/spring-and-struts-2.html. > > The struts `actions` and `validators` are spring managed beans and I can > `inject`

Struts 2 and Spring 4, how to get the validator or action object from spring application context

2016-09-26 Thread Alireza Fattahi
We are using Struts 2.5 and spring 4. The struts is configured spring as mentioned in https://struts.apache.org/docs/spring-and-struts-2.html. The struts `actions` and `validators` are spring managed beans and I can `inject` ( or `autowire`) other beans in them. This validator is working fine

Re: Struts2 2.3.16 integration with Spring Boot 1.3.5

2016-09-23 Thread Lukasz Lenart
2016-09-22 13:20 GMT+02:00 Rodman, Kenneth J : > Hi, > > I am trying to wrap Spring Boot 1.3.5 around my Struts2 application [version > 2.3.16]. I have successfully received control into my action classes and my > action classes are able to access the backend database an

Struts2 2.3.16 integration with Spring Boot 1.3.5

2016-09-22 Thread Rodman, Kenneth J
Hi, I am trying to wrap Spring Boot 1.3.5 around my Struts2 application [version 2.3.16]. I have successfully received control into my action classes and my action classes are able to access the backend database and retrieve data. However, beyond that the JSP is never rendered. So, is it

Re: Issue in autowiring spring beans from parent context

2016-08-07 Thread Sreekanth S. Nair
me of the services to spring parent context, we > use spring's *parentContextKey* in web.xml to enable > ContextLoaderListener to pick these services loaded globally. I have > struts2 as well as Spring mvc modules inside an EAR, Spring mvc controller > is properly getting injected wit

Issue in autowiring spring beans from parent context

2016-08-07 Thread Sreekanth S. Nair
Recently i tried to move some of the services to spring parent context, we use spring's *parentContextKey* in web.xml to enable ContextLoaderListener to pick these services loaded globally. I have struts2 as well as Spring mvc modules inside an EAR, Spring mvc controller is properly ge

Re: Struts2 & Spring using child web application context

2016-06-26 Thread Sreekanth S. Nair
How you are packaging these two web applications ? as an EAR ? or independent WAR running inside a we container ? On Sun, Jun 26, 2016 at 9:47 PM, Chris Cranford < chris.cranf...@setechusa.com> wrote: > Has anyone been able to leverage the struts2-spring-plugin and running it > wi

Struts2 & Spring using child web application context

2016-06-26 Thread Chris Cranford
Has anyone been able to leverage the struts2-spring-plugin and running it within a child context? I am looking into the possibility of something like the following: +- Root Application Context (global services, repositories, etc) +- Web Application Context1 (used by struts2 actions

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

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 <https://cwiki.apache.org/confluence/display/WW/Spring+and+Struts+2> &

Re: Spring Struts problem

2016-03-24 Thread Lukasz Lenart
;xsi:schemaLocation=" > http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans.xsd";> > > class="pfc.struts2.form.service.EditServiceInMemory" /> >

Re: Spring Struts problem

2016-03-24 Thread José Antonio Delgado Trujillo
ema/beans http://www.springframework.org/schema/beans/spring-beans.xsd";> The listener in the web.xml org.springframework.web.context.ContextLoaderListener The dependency in the POM … org.apache.struts struts2-spring-plu

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 st

Define a bean of java.io.FileInputStream in Spring makes the Struts stream result not work

2015-10-25 Thread Alireza Fattahi
We are using the struts with spring in a project. Consider a simple action with **stream** result     @Action(value = "sample-export",     results = { @Result(name = "success", type = "stream", params = {     "inputName&

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
n both the before and after initialization callbacks for > struts constructed objects like actions, interceptors, etc while normal > constructed Spring beans via component scanning were only being invoked once. > > After debugging in 3.2.24.1, I narrowed the issue down to the >

Spring BeanPostProcessor called twice for Struts managed beans

2015-10-14 Thread CRANFORD, CHRIS
In a recent BeanPostProcessor implementation, I noticed our logic was being invoked twice in both the before and after initialization callbacks for struts constructed objects like actions, interceptors, etc while normal constructed Spring beans via component scanning were only being invoked

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
Finally I found the root cause.   It seems I had some Spring jars of an earlier version in my Tomcat lib directory on my dev machine, since I have more than one version of tomcat on my system I was looking in the wrong instance of tomcat when I was trying identify the cause. Sometimes I am

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#Spri

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

Spring Injection Strange behaviour

2015-09-05 Thread Chris
I'm trying to use the Spring plugin to inject a dependency into my action at runtime. This is the first time I've tried this with Struts2 so I may have missed something but I'm stumped because I can see the dependency is injected but then the object is later null when I need to

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

2015-03-03 Thread 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 rather than usi

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 m

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

2015-03-02 Thread 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 rather than using xml. On Mon, Mar 2, 2015 at 12

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: Struts Spring dependency

2015-02-20 Thread Tamer Erdogan
Thanks, I'll try it. -Original Message- From: Dave Newton [mailto:davelnew...@gmail.com] Sent: Friday, February 20, 2015 14:44 To: Struts Users Mailing List Subject: Re: Struts Spring dependency (Personally, I'd just try it.) If it's not being used, it's not being

Re: Struts Spring dependency

2015-02-20 Thread Dave Newton
M, Tamer Erdogan wrote: > Hi, > > I have taken over a struts2 application and there is something, that > confuses me. > Under WEB-INF there is applicationContext.xml with the following content: > > http://www.springframework.org/dtd/spring-beans.dtd

Struts Spring dependency

2015-02-20 Thread Tamer Erdogan
Hi, I have taken over a struts2 application and there is something, that confuses me. Under WEB-INF there is applicationContext.xml with the following content: http://www.springframework.org/dtd/spring-beans.dtd";> And in web.xml there is the f

Re: [struts-user] Re: struts2 json return null if involve hibernate or spring

2014-10-27 Thread john lee
ubject: RE: [struts-user] Re: struts2 json return null if involve hibernate or spring > -Original Message- > From: john lee > Sent: Monday, October 27, 2014 9:06 > > the delete itself has no problem if called it directly.  (please try not to top post) >      From: Lukasz

RE: [struts-user] Re: struts2 json return null if involve hibernate or spring

2014-10-27 Thread Jason Pyeron
4 2:46 AM > Subject: Re: struts2 json return null if involve hibernate or spring > > 2014-10-27 3:55 GMT+01:00 john lee : > > > >  is hibernate dao manipulation could affect struts 2 json return? In my expereince yes, regarding lazy loading and caching. But your code

Re: struts2 json return null if involve hibernate or spring

2014-10-27 Thread john lee
the delete itself has no problem if called it directly.  From: Lukasz Lenart To: Struts Users Mailing List Sent: Monday, October 27, 2014 2:46 AM Subject: Re: struts2 json return null if involve hibernate or spring 2014-10-27 3:55 GMT+01:00 john lee : >  is hibernate

Re: struts2 json return null if involve hibernate or spring

2014-10-27 Thread Lukasz Lenart
2014-10-27 3:55 GMT+01:00 john lee : > is hibernate dao manipulation could affect struts 2 json return? > or spring framework could affect struts2 json return? > my program's struts2 json execution is success if not involve dao or spring > call. > but if involve hibernate/spr

struts2 json return null if involve hibernate or spring

2014-10-26 Thread john lee
is hibernate dao manipulation could affect struts 2 json return? or spring framework could affect struts2 json return? my program's struts2 json execution is success if not involve dao or spring call. but if involve hibernate/spring/dao manipulation, then json return is null and not ret

struts integrate with hibernate and spring

2014-10-19 Thread phoenix
I want to integrate struts2 with hibernate4 and spring4,but i don't know if  i need to use spring to manager struts action, is spring manager struts action better than struts manage action itself? Which method is better?  I am puzzled with how to integrate struts2 with hibernate4 and sp

RE: Struts-core spring dependencies.

2014-05-27 Thread Martin Gainty
look at parent pom.xml to get the answer 3.0.5.RELEASE GIYF (grep is your friend) regards Martin From: mgai...@hotmail.com To: user@struts.apache.org Subject: RE: Struts-core spring

Re: Struts-core spring dependencies.

2014-05-27 Thread Dave Newton
Oh, no, he's not kidding, that's just Martin. Sure, I know what you're thinking: If he *was* right, a private message would have made more sense instead of *exacerbating* the non-situation by *continuing* the public conversation and getting our hapless consultant 86ed. Your mistake is applying lo

Re: Struts-core spring dependencies.

2014-05-27 Thread Jan Olav Eide
> MG>since you're an outside contractor I'll give you this warning > MG>probably not a good idea to blast inquiries like this over the internet > MG>I would ask the people at Northrup Grumman first > MG>then if the bosses clear you to make outside inquiry then ask on this list > MG>not following

RE: Struts-core spring dependencies.

2014-05-27 Thread Martin Gainty
> From: ashok.gu...@ngc.com > To: user@struts.apache.org > Subject: Struts-core spring dependencies. > Date: Tue, 27 May 2014 15:47:24 + > > We are migrating to Struts 2.3.16 from 1.x. The project has some spring > dependencies. Based on the documentation provide

Struts-core spring dependencies.

2014-05-27 Thread Guntu, Ashok (IS) (Contr)
We are migrating to Struts 2.3.16 from 1.x. The project has some spring dependencies. Based on the documentation provided by Apache Struts at http://struts.apache.org/development/2.x/struts2-core/dependencies.html# the spring version they recommend seems to be 3.0.5. Can we use a later

Re: Need help w/ struts+spring+jpa tutorial

2014-03-05 Thread Tommy Pham
Hi Lukasz, Thanks for the reply. Through the course of troubleshooting, I've deleted that project and restarted again by adding one integration at a time but with current versions Spring framework 4.0.2 and Hibernate 4.3.2. As it turns out, there's something wrong w/ my Eclipse Keple

Re: Need help w/ struts+spring+jpa tutorial

2014-03-05 Thread Lukasz Lenart
Can you post the whole stacktrace? Maybe ClassNotFound isn't the root case 2014-03-01 8:06 GMT+01:00 Tommy Pham : > Hi, > > I'm trying to follow the tutorial mentioned in subject at: > > http://struts.apache.org/release/2.3.x/docs/struts-2-spring-2-jpa-ajax.html > &g

Need help w/ struts+spring+jpa tutorial

2014-02-28 Thread Tommy Pham
Hi, I'm trying to follow the tutorial mentioned in subject at: http://struts.apache.org/release/2.3.x/docs/struts-2-spring-2-jpa-ajax.html I got it to build the war OK so far for: Struts 2.3.16 Spring 3.0.5.RELEASE Hibernate 4.3.2.FINAL Log4j 2.0-RC1 But when I run it on Tomcat 7.0.50 s

Re: Struts + Spring

2014-01-25 Thread Ken McWilliams
ot; result type... although I think that is what you are searching for, in the long run (or possibly the short term) I have the feeling you're working towards spaghetti actions. On Thu, Jan 23, 2014 at 2:23 PM, vvc wrote: > Hi all, > > I'm working on an struts2+Spring appli

Struts + Spring

2014-01-23 Thread vvc
Hi all, I'm working on an struts2+Spring application where the action could call any of the two sub-app flow, which wil eventually have seperate URL domains. Is it possible to mask the URL as we do InsideRedirect in Struts1. Thanks, Venkat

Re: S2 - custom tag with Spring

2013-12-05 Thread Steven Yang
thanks I will try that On Thu, Dec 5, 2013 at 4:29 PM, Lukasz Lenart wrote: > 2013/12/4 Steven Yang : > > I think I missed something. > > > > To be clear what I meant by tag as jsp tag with tld defined. > > Yes my resource beans are defined in Spring, using XML act

Re: S2 - custom tag with Spring

2013-12-05 Thread Lukasz Lenart
2013/12/4 Steven Yang : > I think I missed something. > > To be clear what I meant by tag as jsp tag with tld defined. > Yes my resource beans are defined in Spring, using XML actually. However my > tag classes are not. > > From what I understand, the life cycle of tag is

Re: S2 - custom tag with Spring

2013-12-04 Thread Steven Yang
I think I missed something. To be clear what I meant by tag as jsp tag with tld defined. Yes my resource beans are defined in Spring, using XML actually. However my tag classes are not. >From what I understand, the life cycle of tag is controlled by the web container therefore not defined

Re: S2 - custom tag with Spring

2013-12-04 Thread Miguel Almeida
If you @Autowire something into your class you're essentially doing the same as retrieving the resources from ApplicationContext. Once you define your class as a Spring bean in Spring's configuration (either by explicitly defining it in an XML or because it's in a classpath wh

S2 - custom tag with Spring

2013-12-03 Thread Steven Yang
Hi I am writing some custom tags. I want to access some resource from Spring. Is there a clean way of doing it, instead of getting the ApplicationContext in the Components? Will @Inject work for non-Struts values? Or @Autowire will work as well? I am using the spring plugin. Thanks

Re: How configure struts2 to get validation rules from Spring via @value

2013-09-20 Thread Lukasz Lenart
2013/9/20 Alireza Fattahi : > Let me ask this way. > In below validation > @IntRangeFieldValidator(type =ValidatorType.FIELD,min ="10" > > is there any way we can read '10' from external resource files ! Directly not, but there is built-in support for expression, so you can use minExpression="${mi

Re: How configure struts2 to get validation rules from Spring via @value

2013-09-20 Thread Alireza Fattahi
Mailing List Sent: Tuesday, 17 September 2013, 12:48 Subject: Re: How configure struts2 to get validation rules from Spring via @value Code formatting? Maybe use some web service to present your code. Does system.properties is defined as a Struts 2 properties file? 2013/9/17 Alireza Fattahi : >

Re: How configure struts2 to get validation rules from Spring via @value

2013-09-20 Thread Alireza Fattahi
Mailing List Sent: Tuesday, 17 September 2013, 12:48 Subject: Re: How configure struts2 to get validation rules from Spring via @value Code formatting? Maybe use some web service to present your code. Does system.properties is defined as a Struts 2 properties file? 2013/9/17 Alireza Fattahi : >

Re: How configure struts2 to get validation rules from Spring via @value

2013-09-17 Thread Lukasz Lenart
Code formatting? Maybe use some web service to present your code. Does system.properties is defined as a Struts 2 properties file? 2013/9/17 Alireza Fattahi : > We are using spring 3 and struts 2. We use spring @value annotation to get > values from property files. > We want to get v

How configure struts2 to get validation rules from Spring via @value

2013-09-17 Thread Alireza Fattahi
We are using spring 3 and struts 2. We use spring @value annotation to get values from property files. We want to get validation rules from property files instead of hard-coding them in action. Here is sample property system.properties transfer.account.min.amount=10 Here is the action

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 EditServiceIn

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/

  1   2   3   4   5   6   7   8   9   10   >