I did it ( put the relative path). Now the error is another. The web page has a redirect loop ERR_TO_MANY_REDIRECT.
I don’t understand what’s happening. If i delete the /webapp/index.jsp and the welcome file list in web.xml then all it’s OK I put in the browser localhost:8080/annotations or localhost:8080/annotations/index or localhost:8080/annotations/index.action and i can see the /WEB-INF/content/index.jsp I suppose that is because the convention plugin knows the name action index like an actionless result so lookup into content folder to render index.jsp So the convention plugin works but something strange happen with sendRedirect. Regards, José A. > On 10 Nov 2015, at 13:18, Lukasz Lenart <lukaszlen...@apache.org> wrote: > > Issue fixed, do as Chris said! Just pushed fix to Git with relative > path (<% response.sendRedirect("index"); %>) instead of absolute (<% > response.sendRedirect("/index"); %>) - thanks Chris! > > 2015-11-10 9:04 GMT+01:00 José Antonio Delgado Trujillo <jadt...@gmail.com>: >> I use mvn package and then put the war in the deployment folder of wildfly >> 9. >> El 10/11/2015 6:42, "Lukasz Lenart" <lukaszlen...@apache.org> escribió: >> >>> 2015-11-09 21:13 GMT+01:00 José Antonio Delgado Trujillo < >>> jadt...@gmail.com>: >>>> i have the same in the /webapp/index >>>> But i have modified the POM >>>> i compile with maven but i use wildly as server. >>> >>> Which Wildfly version do you use? And I assume that it works with "mvn >>> jetty:run" for you? >>> >>> >>> 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 >>> >>> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org