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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to