[
https://issues.apache.org/jira/browse/JS2-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ate Douma closed JS2-601.
-------------------------
Resolution: Invalid
Forwarding from a servlet included from a portlet simply isn't supported by the
Portlet Spec 1.0.
See PLT.16.3 The Include Method: "Servlets and JSPs included from portlets
should not use the servlet RequestDispatcher forward method as its behavior may
be non-deterministic."
> ServletRequestImpl returns null when used inside of a Servlet.
> --------------------------------------------------------------
>
> Key: JS2-601
> URL: https://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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]