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 sa...@locus.apache.org on 2000/10/04 02:01:11 UTC

cvs commit: jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/directives/forward includecommon.html negativeForwardNoBuff.jsp negativeForwardUsedStream.jsp positiveDoubleQuotes.jsp positiveForwardAbsHtml.jsp positiveForwardRelHtml.jsp positiveSingleQuotes.jsp

santosh     00/10/03 17:01:11

  Added:       src/server/jsp-tests/jsp/core_syntax/directives/forward
                        includecommon.html negativeForwardNoBuff.jsp
                        negativeForwardUsedStream.jsp
                        positiveDoubleQuotes.jsp positiveForwardAbsHtml.jsp
                        positiveForwardRelHtml.jsp positiveSingleQuotes.jsp
  Log:
  watchdog 4.0
  
  Revision  Changes    Path
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/directives/forward/includecommon.html
  
  Index: includecommon.html
  ===================================================================
  <html>
  <title>included</title>
  <body>
  
  This is included file
  </body>
  </html>
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/directives/forward/negativeForwardNoBuff.jsp
  
  Index: negativeForwardNoBuff.jsp
  ===================================================================
  <html>
  <title>negativeForwardNoBuff</title>
  <body>
  <% /** 	Name : negativeForwardNoBuff
  	Description :We are testing for forwarding to static pages using
          <jsp:forward page > tag without a buffer. we should get 
          IllegalStateException
  	Result :
  **/ %>	 
  <!-- testing whether forwarding works if we stream is unbuffered-->
  <%@ page buffer="none"  %>
  <% try { %>
  <jsp:forward page= "/tests/core_syntax/directives/include/includecommon.html" />
     <% }catch(IllegalStateException ie) {out.println("IllegalState"); } %>
  </body>
  </html>
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/directives/forward/negativeForwardUsedStream.jsp
  
  Index: negativeForwardUsedStream.jsp
  ===================================================================
  <html>
  <title>negativeForwardUsedStream</title>
  <body>
  <% /** 	Name : negativeForwardUsedStream
  	Description :We are testing for forwarding to static pages using 
  	<jsp:forward page > tag after writing to the stream. we should get 
  	IllegalStateException
  	Result :
  **/ %>	 
  <!-- testing whether forwarding works if we stream is already used -->
  <% out.flush(); %>
  <% try { %>
  <jsp:forward page= "/tests/core_syntax/directives/include/includecommon.html" />
     <% }catch(IllegalStateException ie) {out.println("IllegalState"); } %>
  </body>
  </html>
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/directives/forward/positiveDoubleQuotes.jsp
  
  Index: positiveDoubleQuotes.jsp
  ===================================================================
  <html>
  <title>positiveDoubleQuotes</title>
  <body>
  <% /** Name :positiveDoubleQuotes
         Description : checking request time attributes with a
                       scriptlet expression in doublequotes to do forwarding
         Result :we expect the output without error to the forwarded file
   **/ %>
  <%@ page autoFlush="false" %>
  <% String test="includecommon"; %>
  <jsp:forward page= "<%= test+\".html\" %>" />
  </body>
  </html>
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/directives/forward/positiveForwardAbsHtml.jsp
  
  Index: positiveForwardAbsHtml.jsp
  ===================================================================
  <html>
  <title>positiveForwardAbsHtml</title>
  <body>
  <% /** 	Name : positiveForwardAbsHtml
  	Description :We are testing for forwarding to static pages using
          <jsp:forward page > tag. here we use absolute path from doc root as 
          url.
  	Result :
  **/ %>	 
  
  <!-- testing whether forwarding works using absolute url relative to doc root-->
  <jsp:forward page= "/tests/core_syntax/directives/forward/includecommon.html" />
  </body>
  </html>
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/directives/forward/positiveForwardRelHtml.jsp
  
  Index: positiveForwardRelHtml.jsp
  ===================================================================
  <html>
  <title>positiveForwardRelHtml</title>
  <body>
  <% /** 	Name : positiveForwardRelHtml
  	Description :We are testing for forwarding to static pages using 
  	<jsp:forward page > tag. here we use relative path from current 
          context  as   url.
  	Result : we expect the forwarded page to come
  **/ %>	 
  
  <!-- testing whether forwarding works using url relative to current context-->
  <jsp:forward page= "includecommon.html" />
  </body>
  </html>
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/directives/forward/positiveSingleQuotes.jsp
  
  	<<Binary file>>