Fórumok
response.sendRedirect not working properly
Samita Bhujbal, módosítva 11 év-val korábban
response.sendRedirect not working properly
Regular Member Bejegyzések: 117 Csatlakozás dátuma: 2011.07.05. Legújabb bejegyzések
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.
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.
jaid shaik, módosítva 11 év-val korábban
RE: response.sendRedirect not working properly
Regular Member Bejegyzések: 171 Csatlakozás dátuma: 2010.10.08. Legújabb bejegyzések
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....................
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, módosítva 11 év-val korábban
RE: response.sendRedirect not working properly
Regular Member Bejegyzések: 117 Csatlakozás dátuma: 2011.07.05. Legújabb bejegyzések
Thanks for reply Jaid.
Subhash Pavuskar, módosítva 11 év-val korábban
RE: response.sendRedirect not working properly
Regular Member Bejegyzések: 234 Csatlakozás dátuma: 2012.03.13. Legújabb bejegyzések
Hi ,
Can you Paste your Error message which you getting on your console !! So it may help to resolve your problem .
Can you Paste your Error message which you getting on your console !! So it may help to resolve your problem .