掲示板

response.sendRedirect not working properly

11年前 に Samita Bhujbal によって更新されました。

response.sendRedirect not working properly

Regular Member 投稿: 117 参加年月日: 11/07/05 最新の投稿
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
11年前 に jaid shaik によって更新されました。

RE: response.sendRedirect not working properly

Regular Member 投稿: 171 参加年月日: 10/10/08 最新の投稿
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....................
11年前 に Samita Bhujbal によって更新されました。

RE: response.sendRedirect not working properly

Regular Member 投稿: 117 参加年月日: 11/07/05 最新の投稿
Thanks for reply Jaid.
thumbnail
11年前 に Subhash Pavuskar によって更新されました。

RE: response.sendRedirect not working properly

Regular Member 投稿: 234 参加年月日: 12/03/13 最新の投稿
Hi ,

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