Fórum

response.sendRedirect not working properly

Samita Bhujbal, modificado 11 Anos atrás.

response.sendRedirect not working properly

Regular Member Postagens: 117 Data de Entrada: 05/07/11 Postagens Recentes
HI ,
I am using liferay 6.0.6. I have developed on custom portlet where I am redirecting from one page to another portlet using response.sendRedirect() mathod .
It was working on local server.But when I tries it on UAT site it is not redirecting to required page. it remains on same page with error message.Previously this was working properly.
Pls reply.
thumbnail
jaid shaik, modificado 11 Anos atrás.

RE: response.sendRedirect not working properly

Regular Member Postagens: 171 Data de Entrada: 08/10/10 Postagens Recentes
Hi samita,


For jsp page
actionResponse.setRenderParameter("jspPage","/html/check/Result.jsp");

For particular page in Liferay Portal
actionResponse.sendRedirect("/web/guest/Result");


check the above...and check the URLs like staging and live server URL's....................
Samita Bhujbal, modificado 11 Anos atrás.

RE: response.sendRedirect not working properly

Regular Member Postagens: 117 Data de Entrada: 05/07/11 Postagens Recentes
Thanks for reply Jaid.
thumbnail
Subhash Pavuskar, modificado 11 Anos atrás.

RE: response.sendRedirect not working properly

Regular Member Postagens: 234 Data de Entrada: 13/03/12 Postagens Recentes
Hi ,

Can you Paste your Error message which you getting on your console !! So it may help to resolve your problem .