struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Greene <da...@securelink.com>
Subject Re: Actions now require INPUT result after installing struts2-spring plugin
Date Thu, 18 Jul 2013 03:48:53 GMT
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 at 5:59 PM, Dave Newton <davelnewton@gmail.com> wrote:

> 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 <david@securelink.com>
> wrote:
>
> > 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 case, but I would rather not go through my
> > many actions defining dummy input results when they're not being used.
> >
> > What I've verified:
> >
> > - Spring context is being started up
> >
> > - If there is an "input" result to the action, @Autowire is correctly
> > autowiring the Spring beans into non-spring Actions.
> >
> > What I think is the next clue, but I'm not sure why or where to go from
> > here:
> >
> > 03:34:37,651 DEBUG
> >
> [org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor]
> > (http--0.0.0.0-8443-5) Validating //ftli with method execute.
> >
> > ^^ Is this line saying that the Action is being validated and then it's
> > forwarding to "input" afterward?
> >
> > Example Action where this fails:
> >         <action name="ftli" class="rss.web.webwork.action.mx.FtliAction">
> >             <result name="success">${file}</result>
> >         </action>
> >
> > Stacktrace produced by action:
> > http://pastebin.com/BtMF9iNL
> >
> >
> > I appreciate any suggestions or direction from here.
> >
> > Thanks!
> >
> > -David
> >
>
>
>
> --
> e: davelnewton@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)
----------------------------------------------------------
david@securelink.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message