RE: Using Spring parentContext to inject common dependencies is injecting dont expected values

2012-03-19 Thread Puneet Babbar 2
Hey Ivan, With my limited knowledge about spring and struts integration - The framework enables "autowiring" by default. (Autowiring means to look for objects defined in Spring with the same name as your object property). To change the wiring mode, modify thespring.autowire property. struts.obj

Re: Exception occurred after upgrading from Struts 1.2 to Struts 1.3.10

2012-03-19 Thread Łukasz Lenart
Did you changed DTD definition ? Regards -- Łukasz http://www.lenart.org.pl/ mobile +48 606 323 122, office +27 11 0838747 Warszawa JUG conference - Confitura http://confitura.pl/ 2012/3/19 joann luo : >  hello, > > > I downloaded the complete Struts 1.3.10 package from > http://struts.apache.

Exception occurred after upgrading from Struts 1.2 to Struts 1.3.10

2012-03-19 Thread joann luo
hello, I downloaded the complete Struts 1.3.10 package from http://struts.apache.org/download.cgi\ *struts-1.3.10-all.zip *. I updated the existing JAR files in my application. jakarta-oro.jar commons-logging.jar common

Re: Current status in testing with struts2, spring3 +junit 4?

2012-03-19 Thread Łukasz Lenart
If you'll follow the last comments, you'll find another approach. Always you can prepare your solution and register an issue to integrate your solution with S2 Regards -- Łukasz http://www.lenart.org.pl/ mobile +48 606 323 122, office +27 11 0838747 Warszawa JUG conference - Confitura http://con

[Struts 1.3.8] getOutputStream() error

2012-03-19 Thread Anjib Mulepati
Hi All, I am writing an action class in Struts 1.3.8 to download the file from the server as the Stream. Files get downloaded and working fine but in log I can see the error three times in log java.lang.IllegalStateException: getOutputStream() has already been called for this response I se

Re: Using Spring parentContext to inject common dependencies is injecting dont expected values

2012-03-19 Thread Eric Lentz
> As i have read, struts only works with autowired context, dont know why but it's ok. I'm not able to take time to read and understand your whole question, but this premise, upon which your question appears to be built, is incorrect. I use Spring and Struts 2 together, all of the time, and I n

Re: Does the orrder of wildcard-annotated methods effects greediness?

2012-03-19 Thread Maurizio Cucchiara
Not sure it works, the action definitions does not belong necessarily on the same java class. So it could not be so easy to choose the right priority value. Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.c

Re: Does the orrder of wildcard-annotated methods effects greediness?

2012-03-19 Thread Mounir Benzid
Am 19.03.2012 09:28, schrieb Maurizio Cucchiara: Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara We could implement a "most specific take a precedence along the

Current status in testing with struts2, spring3 +junit 4?

2012-03-19 Thread Mounir Benzid
A co-worker of mine discovered the below test helper class that we are currently employing for some very basic action testing stuff https://depressedprogrammer.wordpress.com/2007/06/18/unit-testing-struts-2-actions-spring-junit/ Since this is from 2007 I'm wondering if this is still the best

Re: Does the orrder of wildcard-annotated methods effects greediness?

2012-03-19 Thread Maurizio Cucchiara
Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara We could implement a "most specific take a precedence along the path" policy (though I don't know how ATM :) ), co

Re: Does the orrder of wildcard-annotated methods effects greediness?

2012-03-19 Thread Mounir Benzid
Am 18.03.2012 20:15, schrieb Maurizio Cucchiara: I don't know how to get this work with annotations, but it looks like that it works using xml (you can control greediness sorting by more specific expression) Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107