Hello,
I have my index.jsp page that contains the include the following:
Code:
<jsp: include page ="/ content / foo / bar.html"/>
And a servlet is configured with the following mapping:
Code:
<url-pattern> / content/ * </ url-pattern>
So the servlet is called when the induces contained in the index.jsp page When my servlet contains the following code in doGet:
Code:
response.getWriter().System.out.println("hello");
Well I get on my page index.jsp. By cons, when I put this:
Code:
response.sendRedirect(link);
The variable link url contains a valid property but nothing is returned to include. Is it impossible to use sendRedirect a servlet that is called when a jsp: include?
Bookmarks