You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by ms...@apache.org on 2014/08/20 08:42:57 UTC

[44/50] [abbrv] git commit: Completed dispatcher request / response tests that could be generated from the test case assertions file.

Completed dispatcher request / response tests that could be generated from the test case assertions file.


Project: http://git-wip-us.apache.org/repos/asf/portals-pluto/repo
Commit: http://git-wip-us.apache.org/repos/asf/portals-pluto/commit/6e60b5f0
Tree: http://git-wip-us.apache.org/repos/asf/portals-pluto/tree/6e60b5f0
Diff: http://git-wip-us.apache.org/repos/asf/portals-pluto/diff/6e60b5f0

Branch: refs/heads/master
Commit: 6e60b5f0a28b444676602d3e417a4718d667daf4
Parents: fc96a5e
Author: Scott Nicklous <ms...@apache.org>
Authored: Tue Aug 19 23:02:43 2014 +0200
Committer: Scott Nicklous <ms...@apache.org>
Committed: Tue Aug 19 23:02:43 2014 +0200

----------------------------------------------------------------------
 ...Tests1_SPEC2_19_ForwardJSPActionRequest.java |  24 +-
 ...ests1_SPEC2_19_ForwardJSPActionResponse.java |  11 -
 ...pTests1_SPEC2_19_ForwardJSPEventRequest.java |   4 +-
 .../resources/xml-resources/additionalTCs.xml   |  29 --
 ...pTests1_SPEC2_19_ForwardJSPActionRequest.jsp | 420 ++++++++++--------
 ...Tests1_SPEC2_19_ForwardJSPActionResponse.jsp |  25 +-
 ...spTests1_SPEC2_19_ForwardJSPEventRequest.jsp | 126 +++++-
 ...pTests1_SPEC2_19_ForwardJSPEventResponse.jsp |  16 +-
 ...pTests1_SPEC2_19_ForwardJSPRenderRequest.jsp | 133 ++++--
 ...Tests1_SPEC2_19_ForwardJSPRenderResponse.jsp | 168 ++------
 ...ests1_SPEC2_19_ForwardJSPResourceRequest.jsp | 422 +++++++++++--------
 ...sts1_SPEC2_19_ForwardJSPResourceResponse.jsp | 159 ++-----
 ...s2_SPEC2_19_ForwardServletActionRequest.java |  24 +-
 ...2_SPEC2_19_ForwardServletActionResponse.java |  11 -
 ...ts2_SPEC2_19_ForwardServletEventRequest.java |   4 +-
 ..._19_ForwardServletActionRequest_servlet.java | 420 ++++++++++--------
 ...19_ForwardServletActionResponse_servlet.java |  25 +-
 ...2_19_ForwardServletEventRequest_servlet.java | 126 +++++-
 ..._19_ForwardServletEventResponse_servlet.java |  16 +-
 ..._19_ForwardServletRenderRequest_servlet.java | 133 ++++--
 ...19_ForwardServletRenderResponse_servlet.java | 168 ++------
 ...9_ForwardServletResourceRequest_servlet.java | 422 +++++++++++--------
 ..._ForwardServletResourceResponse_servlet.java | 159 ++-----
 .../resources/xml-resources/additionalTCs.xml   |  29 --
 ...Tests3_SPEC2_19_IncludeJSPActionRequest.java |  24 +-
 ...pTests3_SPEC2_19_IncludeJSPEventRequest.java |   4 +-
 .../resources/xml-resources/additionalTCs.xml   |  43 --
 ...pTests3_SPEC2_19_IncludeJSPActionRequest.jsp | 420 ++++++++++--------
 ...Tests3_SPEC2_19_IncludeJSPActionResponse.jsp |  16 +-
 ...spTests3_SPEC2_19_IncludeJSPEventRequest.jsp | 126 +++++-
 ...pTests3_SPEC2_19_IncludeJSPEventResponse.jsp |  16 +-
 ...pTests3_SPEC2_19_IncludeJSPRenderRequest.jsp | 133 ++++--
 ...Tests3_SPEC2_19_IncludeJSPRenderResponse.jsp | 263 +++---------
 ...ests3_SPEC2_19_IncludeJSPResourceRequest.jsp | 422 +++++++++++--------
 ...sts3_SPEC2_19_IncludeJSPResourceResponse.jsp | 263 +++---------
 ...s4_SPEC2_19_IncludeServletActionRequest.java |  24 +-
 ...ts4_SPEC2_19_IncludeServletEventRequest.java |   4 +-
 ..._19_IncludeServletActionRequest_servlet.java | 420 ++++++++++--------
 ...19_IncludeServletActionResponse_servlet.java |  16 +-
 ...2_19_IncludeServletEventRequest_servlet.java | 126 +++++-
 ..._19_IncludeServletEventResponse_servlet.java |  16 +-
 ..._19_IncludeServletRenderRequest_servlet.java | 133 ++++--
 ...19_IncludeServletRenderResponse_servlet.java | 263 +++---------
 ...9_IncludeServletResourceRequest_servlet.java | 422 +++++++++++--------
 ..._IncludeServletResourceResponse_servlet.java | 263 +++---------
 .../resources/xml-resources/additionalTCs.xml   |  43 --
 .../JSR286DispatcherReqRespTestCaseDetails.java | 320 +-------------
 .../javax/portlet/tck/constants/Constants.java  |   9 +
 48 files changed, 3269 insertions(+), 3594 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/6e60b5f0/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest.java b/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest.java
index e11d3b0..ef6c8aa 100644
--- a/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest.java
+++ b/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest.java
@@ -240,7 +240,7 @@ public class DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest implements
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getHeaders */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getHeaders must return a value             */
-      /* corresponding to that returned by ActionRequest.getProperty for      */
+      /* corresponding to that returned by ActionRequest.getProperties for    */
       /* the corresponding header name"                                       */
       {
          PortletURL aurl = portletResp.createActionURL();
@@ -249,17 +249,6 @@ public class DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest implements
          tb.writeTo(writer);
       }
 
-      /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getInputStream */
-      /* Details: "In a target jsp of a forward in the Action phase, the      */
-      /* method HttpServletRequest.getInputStream must provide the same       */
-      /* functionality as ActionRequest.getPortletInputStream"                */
-      {
-         PortletURL aurl = portletResp.createActionURL();
-         aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getInputStream", aurl);
-         tb.writeTo(writer);
-      }
-
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getIntHeader */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getIntHeader must return a value           */
@@ -642,17 +631,6 @@ public class DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest implements
          tb.writeTo(writer);
       }
 
-      /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_setCharacterEncoding */
-      /* Details: "In a target jsp of a forward in the Action phase, the      */
-      /* method HttpServletRequest.setCharacterEncoding must provide the      */
-      /* same functionality as ActionRequest.setCharacterEncoding"            */
-      {
-         PortletURL aurl = portletResp.createActionURL();
-         aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_setCharacterEncoding", aurl);
-         tb.writeTo(writer);
-      }
-
       // TestSetupLink for: DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest
       {
          String val = portletReq.getParameter(PARM_NAME);

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/6e60b5f0/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse.java b/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse.java
index 92468ad..7a2b557 100644
--- a/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse.java
+++ b/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse.java
@@ -209,17 +209,6 @@ public class DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse implement
          tb.writeTo(writer);
       }
 
-      /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse_sendRedirect */
-      /* Details: "In a target jsp of a forward in the Action phase, the      */
-      /* method HttpServletResponse.sendRedirect must provide the same        */
-      /* functionality as ActionResponse.sendRedirect"                        */
-      {
-         PortletURL aurl = portletResp.createActionURL();
-         aurl.setParameters(portletReq.getPrivateParameterMap());
-         TestButton tb = new TestButton("V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse_sendRedirect", aurl);
-         tb.writeTo(writer);
-      }
-
    }
 
 }

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/6e60b5f0/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest.java b/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest.java
index 3228f6e..8b5be9c 100644
--- a/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest.java
+++ b/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest.java
@@ -223,8 +223,8 @@ public class DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest implements
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest_getHeaders */
       /* Details: "In a target jsp of a forward in the Event phase, the       */
       /* method HttpServletRequest.getHeaders must return a value             */
-      /* corresponding to that returned by EventRequest.getProperty for the   */
-      /* corresponding header name"                                           */
+      /* corresponding to that returned by EventRequest.getProperties for     */
+      /* the corresponding header name"                                       */
       {
          PortletURL aurl = portletResp.createActionURL();
          aurl.setParameters(portletReq.getPrivateParameterMap());

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/6e60b5f0/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/resources/xml-resources/additionalTCs.xml
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/resources/xml-resources/additionalTCs.xml b/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/resources/xml-resources/additionalTCs.xml
index 1308471..9c9a84b 100644
--- a/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/resources/xml-resources/additionalTCs.xml
+++ b/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/resources/xml-resources/additionalTCs.xml
@@ -32,7 +32,6 @@
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getHeader">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getHeaderNames">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getHeaders">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getInputStream">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getIntHeader">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getLocalAddr">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getLocalName">V2DispatcherReqRespTests1</entry>
@@ -68,7 +67,6 @@
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_isUserInRole">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_removeAttribute">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_setAttribute">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_setCharacterEncoding">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse_containsHeader">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse_encodeRedirectURL1">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse_encodeRedirectUrl">V2DispatcherReqRespTests1</entry>
@@ -79,7 +77,6 @@
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse_getContentType">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse_getLocale">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse_isCommitted">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse_sendRedirect">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest_getAttribute">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest_getAttributeNames">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest_getAuthType">V2DispatcherReqRespTests1</entry>
@@ -188,29 +185,16 @@
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderRequest_isUserInRole">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderRequest_removeAttribute">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderRequest_setAttribute">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderRequest_setCharacterEncoding">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_containsHeader">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_encodeRedirectURL1">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_encodeRedirectUrl">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_encodeURL1">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_encodeUrl">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_flushBuffer">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_getBufferSize">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_getCharacterEncoding">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_getContentType">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_getLocale">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_getOutputStream">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_isCommitted">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_reset">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_resetBuffer">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_sendError">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_sendRedirect">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_setBufferSize">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_setCharacterEncoding">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_setContentLength">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_setContentType">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_setLocale">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPRenderResponse_setStatus">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest_getAttribute">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest_getAttributeNames">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest_getAuthType">V2DispatcherReqRespTests1</entry>
@@ -223,7 +207,6 @@
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest_getHeader">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest_getHeaderNames">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest_getHeaders">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest_getInputStream">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest_getIntHeader">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest_getLocalAddr">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest_getLocalName">V2DispatcherReqRespTests1</entry>
@@ -259,26 +242,14 @@
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest_isUserInRole">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest_removeAttribute">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest_setAttribute">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceRequest_setCharacterEncoding">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceResponse_containsHeader">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceResponse_encodeRedirectURL1">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceResponse_encodeRedirectUrl">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceResponse_encodeURL1">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceResponse_encodeUrl">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceResponse_flushBuffer">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceResponse_getBufferSize">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceResponse_getCharacterEncoding">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceResponse_getContentType">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceResponse_getLocale">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceResponse_getOutputStream">V2DispatcherReqRespTests1</entry>
 <entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceResponse_isCommitted">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceResponse_reset">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceResponse_resetBuffer">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceResponse_sendError">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceResponse_sendRedirect">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceResponse_setBufferSize">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceResponse_setCharacterEncoding">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceResponse_setContentLength">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceResponse_setContentType">V2DispatcherReqRespTests1</entry>
-<entry key="V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPResourceResponse_setLocale">V2DispatcherReqRespTests1</entry>
 </properties>

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/6e60b5f0/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/webapp/WEB-INF/jsp/DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest.jsp
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/webapp/WEB-INF/jsp/DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest.jsp b/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/webapp/WEB-INF/jsp/DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest.jsp
index 5df820d..592fd83 100644
--- a/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/webapp/WEB-INF/jsp/DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest.jsp
+++ b/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/webapp/WEB-INF/jsp/DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest.jsp
@@ -130,8 +130,16 @@
       /* corresponding to that returned by ActionRequest.getProperty for      */
       /* the corresponding header name"                                       */
       TestResult tr8 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETDATEHEADER);
-      /* TODO: implement test */
-      tr8.appendTcDetail("Not implemented.");
+      try {
+         long hval = request.getDateHeader(MOD_HEADER);
+         long pval = Long.parseLong(portletReq.getProperty(MOD_HEADER));
+         boolean ok = (hval == pval);
+         if (!ok) {
+            String str = MOD_HEADER + " from HttpServletRequest: " + hval + ", did not equal " + pval + " from ActionRequest";
+            tr8.appendTcDetail(str);
+         }
+         tr8.setTcSuccess(ok);
+      } catch(Exception e) {tr8.appendTcDetail(e.toString());}
       tr8.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getHeader */
@@ -140,8 +148,11 @@
       /* corresponding to that returned by ActionRequest.getProperty for      */
       /* the corresponding header name"                                       */
       TestResult tr9 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETHEADER);
-      /* TODO: implement test */
-      tr9.appendTcDetail("Not implemented.");
+      try {
+         String hval = request.getHeader(ACCEPT_HEADER);
+         String pval = portletReq.getProperty(ACCEPT_HEADER);
+         CompareUtils.stringsEqual("HttpServletRequest", hval, "ActionRequest", pval, tr9);
+      } catch(Exception e) {tr9.appendTcDetail(e.toString());}
       tr9.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getHeaderNames */
@@ -150,161 +161,184 @@
       /* contained in the Enumeration returned by                             */
       /* ActionRequest.getPropertyNames"                                      */
       TestResult tr10 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETHEADERNAMES);
-      /* TODO: implement test */
-      tr10.appendTcDetail("Not implemented.");
+      try {
+         // he must be contained in pe 
+         Enumeration<String> he = request.getHeaderNames();
+         Enumeration<String> pe = portletReq.getPropertyNames();
+         HashSet<String> hs = new HashSet<String>();
+         while (he.hasMoreElements()) {
+            hs.add(he.nextElement());
+         }
+         HashSet<String> ps = new HashSet<String>();
+         while (pe.hasMoreElements()) {
+            ps.add(pe.nextElement());
+         }
+         boolean ok = ps.containsAll(hs);
+         if (!ok) {
+            hs.removeAll(ps);
+            String str = "The following headers from HttpServletRequest are not contained in ActionRequest: ";
+            for (String h : hs) {;
+               str += "\"" + h + "\", ";
+            };
+            tr10.appendTcDetail(str);
+         }
+         tr10.setTcSuccess(ok);
+      } catch(Exception e) {tr10.appendTcDetail(e.toString());}
       tr10.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getHeaders */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getHeaders must return a value             */
-      /* corresponding to that returned by ActionRequest.getProperty for      */
+      /* corresponding to that returned by ActionRequest.getProperties for    */
       /* the corresponding header name"                                       */
       TestResult tr11 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETHEADERS);
-      /* TODO: implement test */
-      tr11.appendTcDetail("Not implemented.");
+      try {
+         Enumeration<String> he = request.getHeaders(ACCEPT_LANG_HEADER);
+         Enumeration<String> pe = portletReq.getProperties(ACCEPT_LANG_HEADER);
+         CompareUtils.enumsEqual("HttpServletRequest parameter names", he, "ActionRequest parameter names", pe,tr11);
+      } catch(Exception e) {tr11.appendTcDetail(e.toString());}
       tr11.writeTo(writer);
 
-      /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getInputStream */
-      /* Details: "In a target jsp of a forward in the Action phase, the      */
-      /* method HttpServletRequest.getInputStream must provide the same       */
-      /* functionality as ActionRequest.getPortletInputStream"                */
-      TestResult tr12 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETINPUTSTREAM);
-      /* TODO: implement test */
-      tr12.appendTcDetail("Not implemented.");
-      tr12.writeTo(writer);
-
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getIntHeader */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getIntHeader must return a value           */
       /* corresponding to that returned by ActionRequest.getProperty for      */
       /* the corresponding header name"                                       */
-      TestResult tr13 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETINTHEADER);
-      /* TODO: implement test */
-      tr13.appendTcDetail("Not implemented.");
-      tr13.writeTo(writer);
+      TestResult tr12 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETINTHEADER);
+      try {
+         int hval = request.getIntHeader(CONTENT_LENGTH_HEADER);
+         int pval = Integer.parseInt(portletReq.getProperty(CONTENT_LENGTH_HEADER));
+         boolean ok = (hval == pval);
+         if (!ok) {
+            String str = CONTENT_LENGTH_HEADER + " from HttpServletRequest: " + hval + ", did not equal " + pval + " from ActionRequest";
+            tr12.appendTcDetail(str);
+         }
+         tr12.setTcSuccess(ok);
+      } catch(Exception e) {tr12.appendTcDetail(e.toString());}
+      tr12.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getLocalAddr */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getLocalAddr must return null"             */
-      TestResult tr14 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETLOCALADDR);
+      TestResult tr13 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETLOCALADDR);
       try {
          String isval = request.getLocalAddr();
-         CompareUtils.stringsEqual(isval, null, tr14);
-      } catch(Exception e) {tr14.appendTcDetail(e.toString());}
-      tr14.writeTo(writer);
+         CompareUtils.stringsEqual(isval, null, tr13);
+      } catch(Exception e) {tr13.appendTcDetail(e.toString());}
+      tr13.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getLocalName */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getLocalName must return null"             */
-      TestResult tr15 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETLOCALNAME);
+      TestResult tr14 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETLOCALNAME);
       try {
          String isval = request.getLocalName();
-         CompareUtils.stringsEqual(isval, null, tr15);
-      } catch(Exception e) {tr15.appendTcDetail(e.toString());}
-      tr15.writeTo(writer);
+         CompareUtils.stringsEqual(isval, null, tr14);
+      } catch(Exception e) {tr14.appendTcDetail(e.toString());}
+      tr14.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getLocalPort */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getLocalPort must return 0"                */
-      TestResult tr16 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETLOCALPORT);
+      TestResult tr15 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETLOCALPORT);
       try {
          int isval = request.getLocalPort();
-         if (isval != 0) tr16.appendTcDetail("Returned value was: " + isval);
-         tr16.setTcSuccess(isval == 0);
-      } catch(Exception e) {tr16.appendTcDetail(e.toString());}
-      tr16.writeTo(writer);
+         if (isval != 0) tr15.appendTcDetail("Returned value was: " + isval);
+         tr15.setTcSuccess(isval == 0);
+      } catch(Exception e) {tr15.appendTcDetail(e.toString());}
+      tr15.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getLocale */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getLocale must provide the same            */
       /* functionality as ActionRequest.getLocale"                            */
-      TestResult tr17 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETLOCALE);
+      TestResult tr16 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETLOCALE);
       try {
          Locale hl = request.getLocale();
          Locale pl = portletReq.getLocale();
          String hval = hl.getDisplayName();
          String pval = pl.getDisplayName();
-         CompareUtils.stringsEqual("HttpServletRequest", hval, "ActionRequest", pval, tr17);
-      } catch(Exception e) {tr17.appendTcDetail(e.toString());}
-      tr17.writeTo(writer);
+         CompareUtils.stringsEqual("HttpServletRequest", hval, "ActionRequest", pval, tr16);
+      } catch(Exception e) {tr16.appendTcDetail(e.toString());}
+      tr16.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getLocales */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getLocales must provide the same           */
       /* functionality as ActionRequest.getLocales"                           */
-      TestResult tr18 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETLOCALES);
+      TestResult tr17 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETLOCALES);
       try {
          Enumeration<Locale> he = request.getLocales();
          Enumeration<Locale> pe = portletReq.getLocales();
-         CompareUtils.enumsEqual("HttpServletRequest locales", he, "ActionRequest locales", pe,tr18);
-      } catch(Exception e) {tr18.appendTcDetail(e.toString());}
-      tr18.writeTo(writer);
+         CompareUtils.enumsEqual("HttpServletRequest locales", he, "ActionRequest locales", pe,tr17);
+      } catch(Exception e) {tr17.appendTcDetail(e.toString());}
+      tr17.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getMethod */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getMethod must provide the same            */
       /* functionality as ActionRequest.getMethod"                            */
-      TestResult tr19 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETMETHOD);
+      TestResult tr18 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETMETHOD);
       try {
          String hval = request.getMethod();
          String pval = ((ClientDataRequest)portletReq).getMethod();
-         CompareUtils.stringsEqual("HttpServletRequest", hval, "ActionRequest", pval, tr19);
-      } catch(Exception e) {tr19.appendTcDetail(e.toString());}
-      tr19.writeTo(writer);
+         CompareUtils.stringsEqual("HttpServletRequest", hval, "ActionRequest", pval, tr18);
+      } catch(Exception e) {tr18.appendTcDetail(e.toString());}
+      tr18.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getParameter */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getParameter must provide the same         */
       /* functionality as ActionRequest.getParameter"                         */
-      TestResult tr20 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETPARAMETER);
+      TestResult tr19 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETPARAMETER);
       try {
          // TestSetupLink
          String val = portletReq.getParameter(PARM_NAME);
          if (val != null) {
             String hval = request.getParameter(PARM_NAME);
             String pval = portletReq.getParameter(PARM_NAME);
-            CompareUtils.stringsEqual("HttpServletRequest", hval, "ActionRequest", pval, tr20);
-            tr20.writeTo(writer);
+            CompareUtils.stringsEqual("HttpServletRequest", hval, "ActionRequest", pval, tr19);
+            tr19.writeTo(writer);
          }
-      } catch(Exception e) {tr20.appendTcDetail(e.toString());}
+      } catch(Exception e) {tr19.appendTcDetail(e.toString());}
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getParameterMap */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getParameterMap must provide the same      */
       /* functionality as ActionRequest.getParameterMap"                      */
-      TestResult tr21 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETPARAMETERMAP);
+      TestResult tr20 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETPARAMETERMAP);
       try {
          // TestSetupLink
          String val = portletReq.getParameter(PARM_NAME);
          if (val != null) {
             Map<String, String[]> hmap = request.getParameterMap();
             Map<String, String[]> pmap = portletReq.getParameterMap();
-            CompareUtils.mapsEqual("map from HttpServletRequest", hmap, "map from ActionRequest", pmap, tr21);
-            tr21.writeTo(writer);
+            CompareUtils.mapsEqual("map from HttpServletRequest", hmap, "map from ActionRequest", pmap, tr20);
+            tr20.writeTo(writer);
          }
-      } catch(Exception e) {tr21.appendTcDetail(e.toString());}
+      } catch(Exception e) {tr20.appendTcDetail(e.toString());}
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getParameterNames */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getParameterNames must provide the same    */
       /* functionality as ActionRequest.getParameterNames"                    */
-      TestResult tr22 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETPARAMETERNAMES);
+      TestResult tr21 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETPARAMETERNAMES);
       try {
          // TestSetupLink
          String val = portletReq.getParameter(PARM_NAME);
          if (val != null) {
             Enumeration<String> he = request.getParameterNames();
             Enumeration<String> pe = portletReq.getParameterNames();
-            CompareUtils.enumsEqual("HttpServletRequest parameter names", he, "ActionRequest parameter names", pe,tr22);
-            tr22.writeTo(writer);
+            CompareUtils.enumsEqual("HttpServletRequest parameter names", he, "ActionRequest parameter names", pe,tr21);
+            tr21.writeTo(writer);
          }
-      } catch(Exception e) {tr22.appendTcDetail(e.toString());}
+      } catch(Exception e) {tr21.appendTcDetail(e.toString());}
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getParameterValues */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getParameterValues must provide the same   */
       /* functionality as ActionRequest.getParameterValues"                   */
-      TestResult tr23 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETPARAMETERVALUES);
+      TestResult tr22 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETPARAMETERVALUES);
       try {
          // TestSetupLink
          String val = portletReq.getParameter(PARM_NAME);
@@ -313,317 +347,351 @@
             String[] pvals = portletReq.getParameterValues(PARM_NAME);
             String hval = ((hvals==null) ? "null" : hvals[0]);
             String pval = ((pvals==null) ? "null" : pvals[0]);
-            CompareUtils.stringsEqual("HttpServletRequest", hval, "ActionRequest", pval, tr23);
-            tr23.writeTo(writer);
+            CompareUtils.stringsEqual("HttpServletRequest", hval, "ActionRequest", pval, tr22);
+            tr22.writeTo(writer);
          }
-      } catch(Exception e) {tr23.appendTcDetail(e.toString());}
+      } catch(Exception e) {tr22.appendTcDetail(e.toString());}
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getPathInfo */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getPathInfo must a value corresponding     */
       /* to the path used to obtain the PortletRequestDispatcher"             */
-      TestResult tr24 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETPATHINFO);
+      TestResult tr23 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETPATHINFO);
       try {
          String sname = JSP_PREFIX + "DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest" + JSP_SUFFIX;
          String hval = request.getPathInfo();
          String pval = null;
-         CompareUtils.stringsEqual("HttpServletRequest", hval, " defined: ", pval, tr24);
-      } catch(Exception e) {tr24.appendTcDetail(e.toString());}
-      tr24.writeTo(writer);
+         CompareUtils.stringsEqual("HttpServletRequest", hval, " defined: ", pval, tr23);
+      } catch(Exception e) {tr23.appendTcDetail(e.toString());}
+      tr23.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getPathTranslated */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getPathTranslated must a value             */
       /* corresponding to the path used to obtain the                         */
       /* PortletRequestDispatcher"                                            */
-      TestResult tr25 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETPATHTRANSLATED);
+      TestResult tr24 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETPATHTRANSLATED);
       try {
          String sname = JSP_PREFIX + "DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest" + JSP_SUFFIX;
          String hval = request.getPathTranslated();
          String pval = null;
-         CompareUtils.stringsEqual("HttpServletRequest", hval, " defined: ", pval, tr25);
-      } catch(Exception e) {tr25.appendTcDetail(e.toString());}
-      tr25.writeTo(writer);
+         CompareUtils.stringsEqual("HttpServletRequest", hval, " defined: ", pval, tr24);
+      } catch(Exception e) {tr24.appendTcDetail(e.toString());}
+      tr24.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getProtocol */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getProtocol must return \"HTTP/1.1\""      */
-      TestResult tr26 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETPROTOCOL);
+      TestResult tr25 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETPROTOCOL);
       try {
          String isval = request.getProtocol();
-         CompareUtils.stringsEqual(isval, "HTTP/1.1", tr26);
-      } catch(Exception e) {tr26.appendTcDetail(e.toString());}
-      tr26.writeTo(writer);
+         CompareUtils.stringsEqual(isval, "HTTP/1.1", tr25);
+      } catch(Exception e) {tr25.appendTcDetail(e.toString());}
+      tr25.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getQueryString */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getQueryString must a value                */
       /* corresponding to the query string information used to obtain the     */
       /* PortletRequestDispatcher"                                            */
-      TestResult tr27 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETQUERYSTRING);
+      TestResult tr26 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETQUERYSTRING);
       try {
          String sname = JSP_PREFIX + "DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest" + JSP_SUFFIX;
          String hval = request.getQueryString();
          String pval = QUERY_STRING;
-         CompareUtils.stringsEqual("HttpServletRequest", hval, " defined: ", pval, tr27);
-      } catch(Exception e) {tr27.appendTcDetail(e.toString());}
-      tr27.writeTo(writer);
+         CompareUtils.stringsEqual("HttpServletRequest", hval, " defined: ", pval, tr26);
+      } catch(Exception e) {tr26.appendTcDetail(e.toString());}
+      tr26.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getRealPath */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getRealPath must return null"              */
-      TestResult tr28 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETREALPATH);
+      TestResult tr27 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETREALPATH);
       try {
          String isval = request.getRealPath("/WEB-INF/portlet.xml");
-         CompareUtils.stringsEqual(isval, null, tr28);
-      } catch(Exception e) {tr28.appendTcDetail(e.toString());}
-      tr28.writeTo(writer);
+         CompareUtils.stringsEqual(isval, null, tr27);
+      } catch(Exception e) {tr27.appendTcDetail(e.toString());}
+      tr27.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getRemoteAddr */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getRemoteAddr must return null"            */
-      TestResult tr29 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETREMOTEADDR);
+      TestResult tr28 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETREMOTEADDR);
       try {
          String isval = request.getRemoteAddr();
-         CompareUtils.stringsEqual(isval, null, tr29);
-      } catch(Exception e) {tr29.appendTcDetail(e.toString());}
-      tr29.writeTo(writer);
+         CompareUtils.stringsEqual(isval, null, tr28);
+      } catch(Exception e) {tr28.appendTcDetail(e.toString());}
+      tr28.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getRemoteHost */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getRemoteHost must return null"            */
-      TestResult tr30 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETREMOTEHOST);
+      TestResult tr29 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETREMOTEHOST);
       try {
          String isval = request.getRemoteHost();
-         CompareUtils.stringsEqual(isval, null, tr30);
-      } catch(Exception e) {tr30.appendTcDetail(e.toString());}
-      tr30.writeTo(writer);
+         CompareUtils.stringsEqual(isval, null, tr29);
+      } catch(Exception e) {tr29.appendTcDetail(e.toString());}
+      tr29.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getRemotePort */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getRemotePort must return 0"               */
-      TestResult tr31 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETREMOTEPORT);
+      TestResult tr30 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETREMOTEPORT);
       try {
          int isval = request.getRemotePort();
-         if (isval != 0) tr31.appendTcDetail("Returned value was: " + isval);
-         tr31.setTcSuccess(isval == 0);
-      } catch(Exception e) {tr31.appendTcDetail(e.toString());}
-      tr31.writeTo(writer);
+         if (isval != 0) tr30.appendTcDetail("Returned value was: " + isval);
+         tr30.setTcSuccess(isval == 0);
+      } catch(Exception e) {tr30.appendTcDetail(e.toString());}
+      tr30.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getRemoteUser */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getRemoteUser must provide the same        */
       /* functionality as ActionRequest.getRemoteUser"                        */
-      TestResult tr32 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETREMOTEUSER);
+      TestResult tr31 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETREMOTEUSER);
       try {
          String hval = request.getRemoteUser();
          String pval = ((ClientDataRequest)portletReq).getRemoteUser();
-         CompareUtils.stringsEqual("HttpServletRequest", hval, "ActionRequest", pval, tr32);
-      } catch(Exception e) {tr32.appendTcDetail(e.toString());}
-      tr32.writeTo(writer);
+         CompareUtils.stringsEqual("HttpServletRequest", hval, "ActionRequest", pval, tr31);
+      } catch(Exception e) {tr31.appendTcDetail(e.toString());}
+      tr31.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getRequestDispatcher */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getRequestDispatcher must provide          */
       /* functionality as defined in the servlet specification"               */
-      TestResult tr33 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETREQUESTDISPATCHER);
-      /* TODO: implement test */
-      tr33.appendTcDetail("Not implemented.");
-      tr33.writeTo(writer);
+      TestResult tr32 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETREQUESTDISPATCHER);
+      try {
+         String sname = JSP_PREFIX + "DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest" + JSP_SUFFIX;
+         RequestDispatcher hval = request.getRequestDispatcher(sname);
+         if (hval == null) {
+            tr32.appendTcDetail("Could not obtain request dispatcher for " + sname);
+         }
+         tr32.setTcSuccess(hval != null);
+      } catch(Exception e) {tr32.appendTcDetail(e.toString());}
+      tr32.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getRequestURI */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getRequestURI must a value corresponding   */
       /* to the path and query string information used to obtain the          */
       /* PortletRequestDispatcher"                                            */
-      TestResult tr34 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETREQUESTURI);
+      TestResult tr33 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETREQUESTURI);
       try {
          String sname = JSP_PREFIX + "DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest" + JSP_SUFFIX;
          String hval = request.getRequestURI();
          if (!hval.contains(sname)) {
-            tr34.appendTcDetail("Request URI " + hval + " does not contain " + sname);
+            tr33.appendTcDetail("Request URI " + hval + " does not contain " + sname);
          }
-         tr34.setTcSuccess(hval.contains(sname));
-      } catch(Exception e) {tr34.appendTcDetail(e.toString());}
-      tr34.writeTo(writer);
+         tr33.setTcSuccess(hval.contains(sname));
+      } catch(Exception e) {tr33.appendTcDetail(e.toString());}
+      tr33.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getRequestURL */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getRequestURL must return null"            */
-      TestResult tr35 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETREQUESTURL);
+      TestResult tr34 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETREQUESTURL);
       try {
          StringBuffer isval = request.getRequestURL();
-         if (isval != null) tr35.appendTcDetail("Request URL is " + isval.toString());
-         tr35.setTcSuccess(isval == null);
-      } catch(Exception e) {tr35.appendTcDetail(e.toString());}
-      tr35.writeTo(writer);
+         if (isval != null) tr34.appendTcDetail("Request URL is " + isval.toString());
+         tr34.setTcSuccess(isval == null);
+      } catch(Exception e) {tr34.appendTcDetail(e.toString());}
+      tr34.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getRequestedSessionId */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getRequestedSessionId must provide the     */
       /* same functionality as ActionRequest.getRequestedSessionId"           */
-      TestResult tr36 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETREQUESTEDSESSIONID);
+      TestResult tr35 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETREQUESTEDSESSIONID);
       try {
          String hval = request.getRequestedSessionId();
          String pval = ((ClientDataRequest)portletReq).getRequestedSessionId();
-         CompareUtils.stringsEqual("HttpServletRequest", hval, "ActionRequest", pval, tr36);
-      } catch(Exception e) {tr36.appendTcDetail(e.toString());}
-      tr36.writeTo(writer);
+         CompareUtils.stringsEqual("HttpServletRequest", hval, "ActionRequest", pval, tr35);
+      } catch(Exception e) {tr35.appendTcDetail(e.toString());}
+      tr35.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getScheme */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getScheme must provide the same            */
       /* functionality as ActionRequest.getScheme"                            */
-      TestResult tr37 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETSCHEME);
+      TestResult tr36 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETSCHEME);
       try {
          String hval = request.getScheme();
          String pval = ((ClientDataRequest)portletReq).getScheme();
-         CompareUtils.stringsEqual("HttpServletRequest", hval, "ActionRequest", pval, tr37);
-      } catch(Exception e) {tr37.appendTcDetail(e.toString());}
-      tr37.writeTo(writer);
+         CompareUtils.stringsEqual("HttpServletRequest", hval, "ActionRequest", pval, tr36);
+      } catch(Exception e) {tr36.appendTcDetail(e.toString());}
+      tr36.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getServerName */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getServerName must provide the same        */
       /* functionality as ActionRequest.getServerName"                        */
-      TestResult tr38 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETSERVERNAME);
+      TestResult tr37 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETSERVERNAME);
       try {
          String hval = request.getServerName();
          String pval = ((ClientDataRequest)portletReq).getServerName();
-         CompareUtils.stringsEqual("HttpServletRequest", hval, "ActionRequest", pval, tr38);
-      } catch(Exception e) {tr38.appendTcDetail(e.toString());}
-      tr38.writeTo(writer);
+         CompareUtils.stringsEqual("HttpServletRequest", hval, "ActionRequest", pval, tr37);
+      } catch(Exception e) {tr37.appendTcDetail(e.toString());}
+      tr37.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getServerPort */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getServerPort must provide the same        */
       /* functionality as ActionRequest.getServerPort"                        */
-      TestResult tr39 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETSERVERPORT);
+      TestResult tr38 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETSERVERPORT);
       try {
          int hval = request.getServerPort();
          int pval = ((ClientDataRequest)portletReq).getServerPort();
          String str = "Value " + hval + " from " + "HttpServletRequest" + " does not equal value " + pval + " + ActionRequest";
          if (hval != pval) {
-            tr39.appendTcDetail(str);
+            tr38.appendTcDetail(str);
          }
-         tr39.setTcSuccess(hval == pval);
-      } catch(Exception e) {tr39.appendTcDetail(e.toString());}
-      tr39.writeTo(writer);
+         tr38.setTcSuccess(hval == pval);
+      } catch(Exception e) {tr38.appendTcDetail(e.toString());}
+      tr38.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getServletPath */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getServletPath must a value                */
       /* corresponding to the path used to obtain the                         */
       /* PortletRequestDispatcher"                                            */
-      TestResult tr40 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETSERVLETPATH);
+      TestResult tr39 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETSERVLETPATH);
       try {
          String sname = JSP_PREFIX + "DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest" + JSP_SUFFIX;
          String hval = request.getServletPath();
          String pval = sname;
-         CompareUtils.stringsEqual("HttpServletRequest", hval, " defined: ", pval, tr40);
-      } catch(Exception e) {tr40.appendTcDetail(e.toString());}
-      tr40.writeTo(writer);
+         CompareUtils.stringsEqual("HttpServletRequest", hval, " defined: ", pval, tr39);
+      } catch(Exception e) {tr39.appendTcDetail(e.toString());}
+      tr39.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getSession */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getSession must provide the same           */
       /* functionality as                                                     */
       /* ActionRequest.getPortletSession(APPLICATION_SCOPE)"                  */
-      TestResult tr41 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETSESSION);
-      /* TODO: implement test */
-      tr41.appendTcDetail("Not implemented.");
-      tr41.writeTo(writer);
+      TestResult tr40 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETSESSION);
+      try {
+         HttpSession hval = request.getSession();
+         if (hval == null) {
+            tr40.appendTcDetail("Could not get session from HttpServletRequest");
+         }
+         tr40.setTcSuccess(hval != null);
+      } catch(Exception e) {tr40.appendTcDetail(e.toString());}
+      tr40.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_getUserPrincipal */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.getUserPrincipal must provide the same     */
       /* functionality as ActionRequest.getUserPrincipal"                     */
-      TestResult tr42 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETUSERPRINCIPAL);
+      TestResult tr41 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_GETUSERPRINCIPAL);
       try {
          java.security.Principal hpal = request.getUserPrincipal();
          java.security.Principal ppal = ((ClientDataRequest)portletReq).getUserPrincipal();
          String str = "Value " + hpal.toString() + " from " + "HttpServletRequest" + " does not equal value " + ppal.toString() + " + ActionRequest";
          if (!hpal.equals(ppal)) {
-            tr42.appendTcDetail(str);
+            tr41.appendTcDetail(str);
          }
-         tr42.setTcSuccess(hpal.equals(ppal));
-      } catch(Exception e) {tr42.appendTcDetail(e.toString());}
-      tr42.writeTo(writer);
+         tr41.setTcSuccess(hpal.equals(ppal));
+      } catch(Exception e) {tr41.appendTcDetail(e.toString());}
+      tr41.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_isRequestedSessionIdValid */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.isRequestedSessionIdValid must provide     */
       /* the same functionality as ActionRequest.isRequestedSessionIdValid"   */
-      TestResult tr43 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_ISREQUESTEDSESSIONIDVALID);
+      TestResult tr42 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_ISREQUESTEDSESSIONIDVALID);
       try {
          boolean hval = request.isRequestedSessionIdValid();
          boolean pval = ((ClientDataRequest)portletReq).isRequestedSessionIdValid();
          String str = "Value " + hval + " from " + "HttpServletRequest" + " does not equal value " + pval + " + ActionRequest";
          if (hval != pval) {
-            tr43.appendTcDetail(str);
+            tr42.appendTcDetail(str);
          }
-         tr43.setTcSuccess(hval == pval);
-      } catch(Exception e) {tr43.appendTcDetail(e.toString());}
-      tr43.writeTo(writer);
+         tr42.setTcSuccess(hval == pval);
+      } catch(Exception e) {tr42.appendTcDetail(e.toString());}
+      tr42.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_isSecure */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.isSecure must provide the same             */
       /* functionality as ActionRequest.isSecure"                             */
-      TestResult tr44 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_ISSECURE);
+      TestResult tr43 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_ISSECURE);
       try {
          boolean hval = request.isSecure();
          boolean pval = ((ClientDataRequest)portletReq).isSecure();
          String str = "Value " + hval + " from " + "HttpServletRequest" + " does not equal value " + pval + " + ActionRequest";
          if (hval != pval) {
-            tr44.appendTcDetail(str);
+            tr43.appendTcDetail(str);
          }
-         tr44.setTcSuccess(hval == pval);
-      } catch(Exception e) {tr44.appendTcDetail(e.toString());}
-      tr44.writeTo(writer);
+         tr43.setTcSuccess(hval == pval);
+      } catch(Exception e) {tr43.appendTcDetail(e.toString());}
+      tr43.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_isUserInRole */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.isUserInRole must provide the same         */
       /* functionality as ActionRequest.isUserInRole"                         */
-      TestResult tr45 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_ISUSERINROLE);
+      TestResult tr44 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_ISUSERINROLE);
       try {
          boolean hval = request.isUserInRole(ROLE_NAME);
          boolean pval = ((ClientDataRequest)portletReq).isUserInRole(ROLE_NAME);
          String str = "Value " + hval + " from " + "HttpServletRequest" + " does not equal value " + pval + " + ActionRequest";
          if (hval != pval) {
-            tr45.appendTcDetail(str);
+            tr44.appendTcDetail(str);
          }
-         tr45.setTcSuccess(hval == pval);
-      } catch(Exception e) {tr45.appendTcDetail(e.toString());}
-      tr45.writeTo(writer);
+         tr44.setTcSuccess(hval == pval);
+      } catch(Exception e) {tr44.appendTcDetail(e.toString());}
+      tr44.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_removeAttribute */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.removeAttribute must provide the same      */
       /* functionality as ActionRequest.removeAttribute"                      */
-      TestResult tr46 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_REMOVEATTRIBUTE);
-      /* TODO: implement test */
-      tr46.appendTcDetail("Not implemented.");
-      tr46.writeTo(writer);
+      TestResult tr45 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_REMOVEATTRIBUTE);
+      try {
+         String hname = ATTR_PREFIX + "V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_removeAttribute1";
+         String pname = ATTR_PREFIX + "V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_removeAttribute2";
+         request.setAttribute(hname, "Value");
+         portletReq.setAttribute(pname, "Value");
+         request.removeAttribute(hname);
+         portletReq.removeAttribute(pname);
+         String hval = (String)request.getAttribute(hname);
+         String pval = (String)portletReq.getAttribute(pname);
+         boolean ok = (hval == null) && (pval == null);
+         String str = "";
+         if (!ok) {;
+            if (hval != null) str += "Attribute could not be removed through HttpServletRequest." ;
+            if (pval != null) str += "Attribute could not be removed through ActionRequest." ;
+            tr45.appendTcDetail(str);
+         };
+         tr45.setTcSuccess(ok);
+      } catch(Exception e) {tr45.appendTcDetail(e.toString());}
+      tr45.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_setAttribute */
       /* Details: "In a target jsp of a forward in the Action phase, the      */
       /* method HttpServletRequest.setAttribute must provide the same         */
       /* functionality as ActionRequest.setAttribute"                         */
-      TestResult tr47 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_SETATTRIBUTE);
-      /* TODO: implement test */
-      tr47.appendTcDetail("Not implemented.");
-      tr47.writeTo(writer);
-
-      /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_setCharacterEncoding */
-      /* Details: "In a target jsp of a forward in the Action phase, the      */
-      /* method HttpServletRequest.setCharacterEncoding must provide the      */
-      /* same functionality as ActionRequest.setCharacterEncoding"            */
-      TestResult tr48 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_SETCHARACTERENCODING);
-      /* TODO: implement test */
-      tr48.appendTcDetail("Not implemented.");
-      tr48.writeTo(writer);
+      TestResult tr46 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONREQUEST_SETATTRIBUTE);
+      try {
+         String hname = ATTR_PREFIX + "V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_setAttribute1";
+         String pname = ATTR_PREFIX + "V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest_setAttribute2";
+         request.setAttribute(hname, "Value");
+         portletReq.setAttribute(pname, "Value");
+         String hval = (String)request.getAttribute(hname);
+         String pval = (String)portletReq.getAttribute(pname);
+         request.removeAttribute(hname);
+         portletReq.removeAttribute(pname);
+         boolean ok = (hval.equals("Value") && pval.equals("Value")) ;
+         String str = "";
+         if (!ok) {;
+            if (!hval.equals("Value")) str += "Attribute could not be set/read through HttpServletRequest." ;
+            if (!pval.equals("Value")) str += "Attribute could not be set/read through ActionRequest." ;
+            tr46.appendTcDetail(str);
+         };
+         tr46.setTcSuccess(ok);
+      } catch(Exception e) {tr46.appendTcDetail(e.toString());}
+      tr46.writeTo(writer);
 
       request.getSession().setAttribute(
                    Constants.RESULT_ATTR_PREFIX + "DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionRequest",

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/6e60b5f0/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/webapp/WEB-INF/jsp/DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse.jsp
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/webapp/WEB-INF/jsp/DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse.jsp b/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/webapp/WEB-INF/jsp/DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse.jsp
index a109c2d..54fecda 100644
--- a/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/webapp/WEB-INF/jsp/DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse.jsp
+++ b/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/webapp/WEB-INF/jsp/DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse.jsp
@@ -57,8 +57,12 @@
       /* method HttpServletResponse.encodeURL must provide the same           */
       /* functionality as ActionResponse.encodeURL"                           */
       TestResult tr3 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONRESPONSE_ENCODEURL1);
-      /* TODO: implement test */
-      tr3.appendTcDetail("Not implemented.");
+      try {
+         String turl = "http://www.apache.org/";
+         String hval = (String)response.encodeURL(turl);
+         String pval = (String)portletResp.encodeURL(turl);
+         CompareUtils.stringsEqual("HttpServletResponse", hval, "ActionResponse", pval, tr3);
+      } catch(Exception e) {tr3.appendTcDetail(e.toString());}
       tr3.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse_encodeUrl */
@@ -66,8 +70,12 @@
       /* method HttpServletResponse.encodeUrl must provide the same           */
       /* functionality as ActionResponse.encodeURL"                           */
       TestResult tr4 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONRESPONSE_ENCODEURL);
-      /* TODO: implement test */
-      tr4.appendTcDetail("Not implemented.");
+      try {
+         String turl = "http://www.apache.org/";
+         String hval = (String)response.encodeUrl(turl);
+         String pval = (String)portletResp.encodeURL(turl);
+         CompareUtils.stringsEqual("HttpServletResponse", hval, "ActionResponse", pval, tr4);
+      } catch(Exception e) {tr4.appendTcDetail(e.toString());}
       tr4.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse_getBufferSize */
@@ -122,15 +130,6 @@
       } catch(Exception e) {tr9.appendTcDetail(e.toString());}
       tr9.writeTo(writer);
 
-      /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse_sendRedirect */
-      /* Details: "In a target jsp of a forward in the Action phase, the      */
-      /* method HttpServletResponse.sendRedirect must provide the same        */
-      /* functionality as ActionResponse.sendRedirect"                        */
-      TestResult tr10 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPACTIONRESPONSE_SENDREDIRECT);
-      /* TODO: implement test */
-      tr10.appendTcDetail("Not implemented.");
-      tr10.writeTo(writer);
-
       request.getSession().setAttribute(
                    Constants.RESULT_ATTR_PREFIX + "DispatcherReqRespTests1_SPEC2_19_ForwardJSPActionResponse",
                    writer.toString());

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/6e60b5f0/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/webapp/WEB-INF/jsp/DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest.jsp
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/webapp/WEB-INF/jsp/DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest.jsp b/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/webapp/WEB-INF/jsp/DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest.jsp
index c363d13..96be965 100644
--- a/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/webapp/WEB-INF/jsp/DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest.jsp
+++ b/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/webapp/WEB-INF/jsp/DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest.jsp
@@ -121,8 +121,16 @@
       /* corresponding to that returned by EventRequest.getProperty for the   */
       /* corresponding header name"                                           */
       TestResult tr8 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTREQUEST_GETDATEHEADER);
-      /* TODO: implement test */
-      tr8.appendTcDetail("Not implemented.");
+      try {
+         long hval = request.getDateHeader(MOD_HEADER);
+         long pval = Long.parseLong(portletReq.getProperty(MOD_HEADER));
+         boolean ok = (hval == pval);
+         if (!ok) {
+            String str = MOD_HEADER + " from HttpServletRequest: " + hval + ", did not equal " + pval + " from EventRequest";
+            tr8.appendTcDetail(str);
+         }
+         tr8.setTcSuccess(ok);
+      } catch(Exception e) {tr8.appendTcDetail(e.toString());}
       tr8.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest_getHeader */
@@ -131,8 +139,11 @@
       /* corresponding to that returned by EventRequest.getProperty for the   */
       /* corresponding header name"                                           */
       TestResult tr9 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTREQUEST_GETHEADER);
-      /* TODO: implement test */
-      tr9.appendTcDetail("Not implemented.");
+      try {
+         String hval = request.getHeader(ACCEPT_HEADER);
+         String pval = portletReq.getProperty(ACCEPT_HEADER);
+         CompareUtils.stringsEqual("HttpServletRequest", hval, "EventRequest", pval, tr9);
+      } catch(Exception e) {tr9.appendTcDetail(e.toString());}
       tr9.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest_getHeaderNames */
@@ -141,18 +152,42 @@
       /* contained in the Enumeration returned by                             */
       /* EventRequest.getPropertyNames"                                       */
       TestResult tr10 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTREQUEST_GETHEADERNAMES);
-      /* TODO: implement test */
-      tr10.appendTcDetail("Not implemented.");
+      try {
+         // he must be contained in pe 
+         Enumeration<String> he = request.getHeaderNames();
+         Enumeration<String> pe = portletReq.getPropertyNames();
+         HashSet<String> hs = new HashSet<String>();
+         while (he.hasMoreElements()) {
+            hs.add(he.nextElement());
+         }
+         HashSet<String> ps = new HashSet<String>();
+         while (pe.hasMoreElements()) {
+            ps.add(pe.nextElement());
+         }
+         boolean ok = ps.containsAll(hs);
+         if (!ok) {
+            hs.removeAll(ps);
+            String str = "The following headers from HttpServletRequest are not contained in EventRequest: ";
+            for (String h : hs) {;
+               str += "\"" + h + "\", ";
+            };
+            tr10.appendTcDetail(str);
+         }
+         tr10.setTcSuccess(ok);
+      } catch(Exception e) {tr10.appendTcDetail(e.toString());}
       tr10.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest_getHeaders */
       /* Details: "In a target jsp of a forward in the Event phase, the       */
       /* method HttpServletRequest.getHeaders must return a value             */
-      /* corresponding to that returned by EventRequest.getProperty for the   */
-      /* corresponding header name"                                           */
+      /* corresponding to that returned by EventRequest.getProperties for     */
+      /* the corresponding header name"                                       */
       TestResult tr11 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTREQUEST_GETHEADERS);
-      /* TODO: implement test */
-      tr11.appendTcDetail("Not implemented.");
+      try {
+         Enumeration<String> he = request.getHeaders(ACCEPT_LANG_HEADER);
+         Enumeration<String> pe = portletReq.getProperties(ACCEPT_LANG_HEADER);
+         CompareUtils.enumsEqual("HttpServletRequest parameter names", he, "EventRequest parameter names", pe,tr11);
+      } catch(Exception e) {tr11.appendTcDetail(e.toString());}
       tr11.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest_getInputStream */
@@ -171,8 +206,16 @@
       /* corresponding to that returned by EventRequest.getProperty for the   */
       /* corresponding header name"                                           */
       TestResult tr13 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTREQUEST_GETINTHEADER);
-      /* TODO: implement test */
-      tr13.appendTcDetail("Not implemented.");
+      try {
+         int hval = request.getIntHeader(CONTENT_LENGTH_HEADER);
+         int pval = Integer.parseInt(portletReq.getProperty(CONTENT_LENGTH_HEADER));
+         boolean ok = (hval == pval);
+         if (!ok) {
+            String str = CONTENT_LENGTH_HEADER + " from HttpServletRequest: " + hval + ", did not equal " + pval + " from EventRequest";
+            tr13.appendTcDetail(str);
+         }
+         tr13.setTcSuccess(ok);
+      } catch(Exception e) {tr13.appendTcDetail(e.toString());}
       tr13.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest_getLocalAddr */
@@ -429,8 +472,14 @@
       /* method HttpServletRequest.getRequestDispatcher must provide          */
       /* functionality as defined in the servlet specification"               */
       TestResult tr34 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTREQUEST_GETREQUESTDISPATCHER);
-      /* TODO: implement test */
-      tr34.appendTcDetail("Not implemented.");
+      try {
+         String sname = JSP_PREFIX + "DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest" + JSP_SUFFIX;
+         RequestDispatcher hval = request.getRequestDispatcher(sname);
+         if (hval == null) {
+            tr34.appendTcDetail("Could not obtain request dispatcher for " + sname);
+         }
+         tr34.setTcSuccess(hval != null);
+      } catch(Exception e) {tr34.appendTcDetail(e.toString());}
       tr34.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest_getRequestURI */
@@ -532,8 +581,13 @@
       /* functionality as                                                     */
       /* EventRequest.getPortletSession(APPLICATION_SCOPE)"                   */
       TestResult tr42 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTREQUEST_GETSESSION);
-      /* TODO: implement test */
-      tr42.appendTcDetail("Not implemented.");
+      try {
+         HttpSession hval = request.getSession();
+         if (hval == null) {
+            tr42.appendTcDetail("Could not get session from HttpServletRequest");
+         }
+         tr42.setTcSuccess(hval != null);
+      } catch(Exception e) {tr42.appendTcDetail(e.toString());}
       tr42.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest_getUserPrincipal */
@@ -605,8 +659,24 @@
       /* method HttpServletRequest.removeAttribute must provide the same      */
       /* functionality as EventRequest.removeAttribute"                       */
       TestResult tr47 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTREQUEST_REMOVEATTRIBUTE);
-      /* TODO: implement test */
-      tr47.appendTcDetail("Not implemented.");
+      try {
+         String hname = ATTR_PREFIX + "V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest_removeAttribute1";
+         String pname = ATTR_PREFIX + "V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest_removeAttribute2";
+         request.setAttribute(hname, "Value");
+         portletReq.setAttribute(pname, "Value");
+         request.removeAttribute(hname);
+         portletReq.removeAttribute(pname);
+         String hval = (String)request.getAttribute(hname);
+         String pval = (String)portletReq.getAttribute(pname);
+         boolean ok = (hval == null) && (pval == null);
+         String str = "";
+         if (!ok) {;
+            if (hval != null) str += "Attribute could not be removed through HttpServletRequest." ;
+            if (pval != null) str += "Attribute could not be removed through EventRequest." ;
+            tr47.appendTcDetail(str);
+         };
+         tr47.setTcSuccess(ok);
+      } catch(Exception e) {tr47.appendTcDetail(e.toString());}
       tr47.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest_setAttribute */
@@ -614,8 +684,24 @@
       /* method HttpServletRequest.setAttribute must provide the same         */
       /* functionality as EventRequest.setAttribute"                          */
       TestResult tr48 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTREQUEST_SETATTRIBUTE);
-      /* TODO: implement test */
-      tr48.appendTcDetail("Not implemented.");
+      try {
+         String hname = ATTR_PREFIX + "V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest_setAttribute1";
+         String pname = ATTR_PREFIX + "V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest_setAttribute2";
+         request.setAttribute(hname, "Value");
+         portletReq.setAttribute(pname, "Value");
+         String hval = (String)request.getAttribute(hname);
+         String pval = (String)portletReq.getAttribute(pname);
+         request.removeAttribute(hname);
+         portletReq.removeAttribute(pname);
+         boolean ok = (hval.equals("Value") && pval.equals("Value")) ;
+         String str = "";
+         if (!ok) {;
+            if (!hval.equals("Value")) str += "Attribute could not be set/read through HttpServletRequest." ;
+            if (!pval.equals("Value")) str += "Attribute could not be set/read through EventRequest." ;
+            tr48.appendTcDetail(str);
+         };
+         tr48.setTcSuccess(ok);
+      } catch(Exception e) {tr48.appendTcDetail(e.toString());}
       tr48.writeTo(writer);
 
       request.getSession().setAttribute(

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/6e60b5f0/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/webapp/WEB-INF/jsp/DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse.jsp
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/webapp/WEB-INF/jsp/DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse.jsp b/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/webapp/WEB-INF/jsp/DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse.jsp
index a6ab9b6..74278b6 100644
--- a/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/webapp/WEB-INF/jsp/DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse.jsp
+++ b/portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/webapp/WEB-INF/jsp/DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse.jsp
@@ -57,8 +57,12 @@
       /* method HttpServletResponse.encodeURL must provide the same           */
       /* functionality as EventResponse.encodeURL"                            */
       TestResult tr3 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_ENCODEURL1);
-      /* TODO: implement test */
-      tr3.appendTcDetail("Not implemented.");
+      try {
+         String turl = "http://www.apache.org/";
+         String hval = (String)response.encodeURL(turl);
+         String pval = (String)portletResp.encodeURL(turl);
+         CompareUtils.stringsEqual("HttpServletResponse", hval, "EventResponse", pval, tr3);
+      } catch(Exception e) {tr3.appendTcDetail(e.toString());}
       tr3.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse_encodeUrl */
@@ -66,8 +70,12 @@
       /* method HttpServletResponse.encodeUrl must provide the same           */
       /* functionality as EventResponse.encodeURL"                            */
       TestResult tr4 = tcd.getTestResultFailed(V2DISPATCHERREQRESPTESTS1_SPEC2_19_FORWARDJSPEVENTRESPONSE_ENCODEURL);
-      /* TODO: implement test */
-      tr4.appendTcDetail("Not implemented.");
+      try {
+         String turl = "http://www.apache.org/";
+         String hval = (String)response.encodeUrl(turl);
+         String pval = (String)portletResp.encodeURL(turl);
+         CompareUtils.stringsEqual("HttpServletResponse", hval, "EventResponse", pval, tr4);
+      } catch(Exception e) {tr4.appendTcDetail(e.toString());}
       tr4.writeTo(writer);
 
       /* TestCase: V2DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventResponse_getBufferSize */