You are viewing a plain text version of this content. The canonical link for it is here.
Posted to watchdog-dev@jakarta.apache.org by cr...@locus.apache.org on 2000/04/26 18:24:18 UTC

cvs commit: jakarta-watchdog/src/server/jsp-tests/jsp/engine/PageContext positiveForward.jsp

craigmcc    00/04/26 09:24:17

  Modified:    src/clients/org/apache/jcheck/jsp/client/engine/PageContext
                        positiveForward.html
               src/server/jsp-tests/jsp/engine/PageContext
                        positiveForward.jsp
  Log:
  Add a "return" after calling PageContext.forward(), to avoid trying to
  test behavior that is explicitly declared undefined in the javadocs.
  
  NOTE:  Tomcat 3.1 currently fails this test -- after fixing a bug in
  RequestDispatcher.forward to erase the output buffer of any bytes, Tomcat
  still sends the new page followed by the old page.  Further investigation
  on this is in progress.
  
  PR: 270
  Submitted by:	paul@newatlanta.com
  
  Revision  Changes    Path
  1.2       +0 -4      jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/positiveForward.html
  
  Index: positiveForward.html
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/positiveForward.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveForward.html	2000/01/27 18:50:13	1.1
  +++ positiveForward.html	2000/04/26 16:24:16	1.2
  @@ -4,8 +4,4 @@
   SUCCESS
   
   </body>
  -</html><html>
  -<title>positiveForward</title>
  -<body>
  -</body>
   </html>
  
  
  
  1.3       +1 -0      jakarta-watchdog/src/server/jsp-tests/jsp/engine/PageContext/positiveForward.jsp
  
  Index: positiveForward.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/engine/PageContext/positiveForward.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- positiveForward.jsp	1999/11/09 20:51:52	1.2
  +++ positiveForward.jsp	2000/04/26 16:24:17	1.3
  @@ -12,6 +12,7 @@
   <%
   try{
           pageContext.forward("forward.jsp");
  +	return;
       }catch(Exception e){
           out.println(e);
       }