When validation fails, intercept returns "INPUT" on behalf of the action.
That is why convention plugin takes you to page-input.jsp

On Nov 16, 2010 9:06 PM, "Greg Akins" <angryg...@gmail.com> wrote:
> I'm trying to get validation working.. should be pretty simple.
>
> It looks like if my validation fails Struts should auto-magically take
> me back to the originating jsp. Instead Struts keeps wanting to find
> a page-INPUT.jsp to match the INPUT return type.
>
> I'm using the convention plugin and using annotations, rather than
> validator.xml, for validations. Struts 2.2.1. There is no struts.xml
> file in the project (everything is through annotations.).
>
> Any hints?
>
> --
> Greg Akins
>
> http://insomnia-consulting.org
> http://www.pghcodingdojo.org
> http://pittjug.dev.java.net
> http://twitter.com/akinsgre
> http://www.linkedin.com/in/akinsgre
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>

Reply via email to