Re: sendRedirect in Struts

2006-08-29 Thread Antonio Petrelli
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("/" +

sendRedirect in Struts

2006-08-28 Thread Chetan Pandey
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