portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "george talusan (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Created: (JS2-601) ServletRequestImpl returns null when used inside of a Servlet.
Date Thu, 12 Oct 2006 20:47:38 GMT
ServletRequestImpl returns null when used inside of a Servlet.
--------------------------------------------------------------

                 Key: JS2-601
                 URL: http://issues.apache.org/jira/browse/JS2-601
             Project: Jetspeed 2
          Issue Type: Bug
          Components: Components Core
    Affects Versions: 2.0-FINAL
         Environment: Tomcat 5.5.20 with Jetspeed 2.0 on Windows.
            Reporter: george talusan


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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message