I have a referrer URL like this:
http://myUrl.com?page=thisPage&gotoUrl=https://yahoo.com?gotoPage
How do I get the Values of \"page\" and \"gotoUrl\" in
Get the QueryString in Spring MVC Controller
This is Liferay portal specific solution, and it works.
Query String Example: ?reportTypeId=1&reportSeqNo=391
In order to get the value of reportSeqNo in Liferay Portal, we need to get the Original Servlet Request.
String reportSeq = PortalUtil.getOriginalServletRequest(PortalUtil.getHttpServletRequest(renderRequest)).getParameter("reportSeqNo");