struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emi <em...@encs.concordia.ca>
Subject Re: About error-code 404 is called for each struts action class
Date Fri, 05 Jan 2018 20:34:42 GMT
Any clue why action classes are shown correctly, but 404.jsp still called?

In 404.jsp  only one line: System.out.println("test");

All struts action classes can be shown correctly, but 404.jsp is called 
by web.xml when going from one page to another.

Thanks.

> Hello,
>
> In web.xml:
>
>    <error-page>
>       <error-code>404</error-code>
> <location>/WEB-INF/pages/errorinfo/tiles_404.jsp</location>
>    </error-page>
>
> For each struts2 action class shows/direct to correct page, but the 
> above line is always called.
>
> Could someone let me know what may cause the above section called please?
>
> Thanks a lot!
> -- 
> struts2.5.14.1, tiles3.0.8, servlet2.4
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message