Chetan Pandey ha scritto:
<%
response.sendRedirect("/loggingAction.do?function=login");
%>
This does not work if your webapp is not in the ROOT context (that is
the 99% of cases when developing).
Either use a relative path (i.e. remove the first '/') or use:
response.sendRedirect("/" +
I have a JSP Page. As soon as control passes to it I want to redirect to an
action:
<%
response.sendRedirect("/loggingAction.do?function=login");
%>
But the problem is I get a message: "The requested resource (/loggingAction)
is not available."
It seems JSP/Servelt method sendRedirec
2 matches
Mail list logo