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 <da...@securelink.com> wrote: > How would I figure out what is failing validation (and more importantly) > why? I have logging set to DEBUG, but nothing is jumping out as a > Validation Error. > > > On Thu, Jul 18, 2013 at 9:57 AM, Dave Newton <davelnew...@gmail.com> > wrote: > > > It's a validation or type conversion error. > > > > > > On Thu, Jul 18, 2013 at 10:44 AM, David Greene <da...@securelink.com> > > wrote: > > > > > Wishful thinking... > > > > > > <constant name="struts.objectFactory" > > > value="org.apache.struts2.spring.StrutsSpringObjectFactory" /> > > > > > > to > > > > > > <constant name="struts.objectFactory" value="spring" /> > > > > > > made no change. I couldn't find any other differences in the docs. > I'll > > > look at the tutorial next, but I'm not setting up a brand new project - > > I'm > > > integrating Spring into an existing (and fully functional) Struts2 > > > application so I can verify that my only changes (through SVN diff) are > > the > > > ones mentioned in the struts2-plugin + adding @Autowired to my Actions > > for > > > Singleton access. > > > > > > Further, I can change: > > > > > > <struts> > > > ... > > > <constant name="struts.objectFactory" value="spring" /> > > > <constant name="struts.objectFactory.spring.autoWire" value="type" > /> > > > ... > > > </struts> > > > > > > to > > > > > > <struts> > > > ... > > > </struts> > > > > > > and remove @Autowired with "old school" Object.getInstance(); on my > > Actions > > > and everything returns to normal. > > > > > > 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 > > > deciding to do INPUT instead of SUCCESS. Does anyone know what class > > that > > > might be? > > > > > > -David > > > > > > > > > > > > On Thu, Jul 18, 2013 at 6:54 AM, David Greene <da...@securelink.com> > > > wrote: > > > > > > > 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 > > > > 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. > > > > > > > > > > > > On Thu, Jul 18, 2013 at 12:38 AM, Lukasz Lenart < > > lukaszlen...@apache.org > > > >wrote: > > > > > > > >> 2013/7/18 David Greene <da...@securelink.com>: > > > >> > 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. > > > >> > > > >> Have you changed anything in the configuration? > > > >> > > > >> > > > >> Regards > > > >> -- > > > >> Ćukasz > > > >> + 48 606 323 122 http://www.lenart.org.pl/ > > > >> > > > >> > --------------------------------------------------------------------- > > > >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > > >> For additional commands, e-mail: user-h...@struts.apache.org > > > >> > > > >> > > > > > > > > > > > > -- > > > > ---------------------------------------------------------- > > > > *David Greene* > > > > *SecureLink, Inc.* > > > > Secure networks for remote support > > > > ---------------------------------------------------------- > > > > (512) 630-2285 (m) > > > > (512) 637-8744 (o) > > > > ---------------------------------------------------------- > > > > da...@securelink.com > > > > > > > > > > > > > > > > -- > > > ---------------------------------------------------------- > > > *David Greene* > > > *SecureLink, Inc.* > > > Secure networks for remote support > > > ---------------------------------------------------------- > > > (512) 630-2285 (m) > > > (512) 637-8744 (o) > > > ---------------------------------------------------------- > > > da...@securelink.com > > > > > > > > > > > -- > > e: davelnew...@gmail.com > > m: 908-380-8699 > > s: davelnewton_skype > > t: @dave_newton <https://twitter.com/dave_newton> > > b: Bucky Bits <http://buckybits.blogspot.com/> > > g: davelnewton <https://github.com/davelnewton> > > so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton> > > > > > > -- > ---------------------------------------------------------- > *David Greene* > *SecureLink, Inc.* > Secure networks for remote support > ---------------------------------------------------------- > (512) 630-2285 (m) > (512) 637-8744 (o) > ---------------------------------------------------------- > da...@securelink.com > -- Cheers, Paul