Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-601

ServletRequestImpl returns null when used inside of a Servlet.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 2.0-FINAL
    • None
    • Components Core
    • None
    • Tomcat 5.5.20 with Jetspeed 2.0 on Windows.

    Description

      I've written a Portlet that has several HREFs that point to servlets. One of these servlets does a forward to a JSP page.

      Turning on logging in catalina's JSPServlet shows ServletPath, PathInfo, RealPath, RequestURI, QueryString are all null. The forward subsequently fails since getPathInfo and friends are returning null.

      While inside my servlet's doGet/doPost, If I cast the HttpServletRequest to Jetspeed-2's ServletRequestImpl and call setPortletDispatcherIncluded(false) then the forward will work.

      I expect the forward to work in Tomcat regardless of whether the servlet was called via a portlet or other.

      Attachments

        Activity

          People

            Unassigned Unassigned
            george.talusan george talusan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: