2 Replies Latest reply on Jul 31, 2007 1:42 PM by Shanmugaraja Chellappen

    Accessing Query Parameter value in the porlet in a page

    Shanmugaraja Chellappen Newbie

      I have a page, in that a portlet. I am invoking the page through the browser with a query parameter. I am not able to access the Query Parameter. Do i need to any configuration to accept the query parameters or How could I access the value in the Portlet in a page. Any help is appreciated. Thanks in advance.

      URL
      http://localhost:8180/portal/portal/default/RenderPage?category=Industries

      Code in the portlet do view

      String category=rReq.getParameter("category");
      if(category==null){
      category=(String)rReq.getAttribute("category");
      }