struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: Actions now require INPUT result after installing struts2-spring plugin
Date Wed, 17 Jul 2013 22:59:24 GMT
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>

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