Re: GitHub example annotations with 2 differents files named index.jsp

2015-09-10 Thread Chris
Thank you. I see. But , Is not that a bit dangerous to let the user change the link? I prefer when Struts2 intercept the modification without error. Anyway, the line in the jsp index.jsp <% Response.sendRedirect ("/ index.jsp"); %> does not work for me, because it refers to http: //

Re: GitHub example annotations with 2 differents files named index.jsp

2015-09-10 Thread Lukasz Lenart
2015-09-10 17:54 GMT+02:00 Chris : > Thank you. I see. > But , Is not that a bit dangerous to let the user change the link? I prefer > when Struts2 intercept the modification without error. I don't understand what do you mean > Anyway, the line in the jsp index.jsp > <%

Re: GitHub example annotations with 2 differents files named index.jsp

2015-09-10 Thread Lukasz Lenart
2015-09-09 9:50 GMT+02:00 Chris : > Hello, > 2 differents files named index.jsp, exist in annotations example. > But they are differents, and not in the same directoryDo we need this > sendRedirect ? > GitHub apache/struts-examples/annotations/ > 1 )

GitHub example annotations with 2 differents files named index.jsp

2015-09-09 Thread Chris
Hello, 2 differents files named index.jsp, exist in annotations example. But they are differents, and not in the same directoryDo we need this sendRedirect ? GitHub  apache/struts-examples/annotations/ 1 ) src/main/webapp/index.jsp 2 ) src/main/webapp/WEB-INF/content/index.jsp <%