0 Replies Latest reply on Apr 6, 2007 3:22 AM by Ashwin Kamath

    httpservletrequest.getProtocol returns null when invoked usi

    Ashwin Kamath Newbie


      I am using a portletrequestdispatcher to include a servlet in the doView method. Within the servlet a NULL is returned if i try to get the protocol of the request using getProtocol. I expected to see HTTP/1.1.

      Below is the code snippet of how I include the servrlet

      PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("/TestServlet/test");
      prd.include(rRequest, rResponse);

      Any help on this subject will be of great help.