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 rl...@apache.org on 2002/01/29 00:39:54 UTC

cvs commit: jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/actions/forward forwardcommon.html forwardcommon.jsp positiveForwardCtxRelative.jsp positiveForwardCtxRelativeHtml.jsp positiveForwardPageRelative.jsp positiveForwardPageRelativeHtml.jsp positiveRequestAttrCtxRelative.jsp positiveRequestAttrPageRelative.jsp

rlubke      02/01/28 15:39:54

  Added:       src/server/jsp-tests/jsp/core_syntax/actions/forward
                        forwardcommon.html forwardcommon.jsp
                        positiveForwardCtxRelative.jsp
                        positiveForwardCtxRelativeHtml.jsp
                        positiveForwardPageRelative.jsp
                        positiveForwardPageRelativeHtml.jsp
                        positiveRequestAttrCtxRelative.jsp
                        positiveRequestAttrPageRelative.jsp
  Log:
   - Reorg and addition/modification of jsp:forward tests.
  
  Revision  Changes    Path
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/actions/forward/forwardcommon.html
  
  Index: forwardcommon.html
  ===================================================================
  <html>
  <title>forwarded</title>
  <body>
  This is forwarded html file
  </body>
  </html>
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/actions/forward/forwardcommon.jsp
  
  Index: forwardcommon.jsp
  ===================================================================
  <html>
  <title>forwarded</title>
  <body>
  <% out.print("This is forwarded file"); %>
  </body>
  </html>
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/actions/forward/positiveForwardCtxRelative.jsp
  
  Index: positiveForwardCtxRelative.jsp
  ===================================================================
  <html> 
  <body> 
  <% 
      /* 
        Name: positiveForwardCtxRelative.jsp 
        Description: Use a valid jsp:forward directive
                     using a context-relative path.
        Result: The should be the forwarded page. 
         
      */ 
       
  %>     
  <!-- testing for forward directive --> 
   
  <jsp:forward page="/jsp/core_syntax/actions/forward/forwardcommon.jsp" /> 
   
  </body> 
  </html> 
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/actions/forward/positiveForwardCtxRelativeHtml.jsp
  
  Index: positiveForwardCtxRelativeHtml.jsp
  ===================================================================
  <html>
  <title>positiveForwardAbshtml.jsp</title>
  <body>
  <% /** 	Name : positiveForwardCtxRelativeHtml.jsp
  	Description :We are testing for forwarding to a html page using
          <jsp:forward page > tag. We test if the forwarded static content
          got  forwarded in the output. Here we use a context-relative path.
  **/ %>	 
  <!-- testing context-relative forwarding to an HTML page -->
  <jsp:forward page= "/jsp/core_syntax/actions/forward/forwardcommon.html" />
  </body>
  </html>
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/actions/forward/positiveForwardPageRelative.jsp
  
  Index: positiveForwardPageRelative.jsp
  ===================================================================
  <html> 
  <body> 
  <% 
      /* 
        Name: positiveForwardPageRelative 
        Description: Use a valid jsp:forward directive
                     using a page relative path.
        Result: The page should result due to forwarding 
         
      */ 
       
  %>     
  <!-- testing for forwarding to a relative jsp --> 
  <jsp:forward page="forwardcommon.jsp" /> 
  </body> 
  </html> 
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/actions/forward/positiveForwardPageRelativeHtml.jsp
  
  Index: positiveForwardPageRelativeHtml.jsp
  ===================================================================
  <html>
  <title>positiveForwardRelhtml.jsp</title>
  <body>
  <% /** 	Name : positiveForwardPageRelativeHtml.jsp
  	Description :We are testing for request time Static forwarding using
          <jsp:forward page > tag. We test the forwarded static content
          got  forwarded in the output.  Here we use a page-relative path. 
  	Result :
  **/ %>	 
  <!-- testing static forwarding of a page-relative HTML page -->
  <jsp:forward page= "forwardcommon.html" />
  </body>
  </html>
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/actions/forward/positiveRequestAttrCtxRelative.jsp
  
  Index: positiveRequestAttrCtxRelative.jsp
  ===================================================================
  <html>
  <title>positiveRequestAttrAbs</title>
  <body>
  <% /** 	Name : positiveRequestAttrCtxRelative
  	Description :     We are testing for request time dynamic inclusion 
  	using <jsp:forward page > tag. We test if we get the forwarded jsp got
          parsed at request time and forwarded to the output using a 
          context-relative path.
  **/ %>	 
  <% String test="/jsp/core_syntax/actions/forward/forwardcommon"; %>
  <!-- Request-time Dynamic inclusion, with a context-relative path -->
  <jsp:forward page= '<%= test+".jsp" %>' />
  </body>
  </html>
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/actions/forward/positiveRequestAttrPageRelative.jsp
  
  Index: positiveRequestAttrPageRelative.jsp
  ===================================================================
  <html>
  <title>positiveRequestAttrRelative</title>
  <body>
  <% /**  Name : positiveRequestAttrPageRelative
          Description : We check if request time attributes work by forwarding
                        the request using a page-relative path.
          Result : we should get the forwarded file without error
   **/ %>
  <% String test="forwardcommon"; %>
  <jsp:forward page= '<%= test+".jsp" %>' />
  </body>
  </html>
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>