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:43:32 UTC

cvs commit: jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/actions/include includecommon.html includecommon.jsp positiveIncludeCtxRelative.jsp positiveIncludeCtxRelativeHtml.jsp positiveIncludePageRelative.jsp positiveIncludePageRelativeHtml.jsp positiveRequestAttrCtxRelative.jsp positiveRequestAttrPageRelative.jsp

rlubke      02/01/28 15:43:32

  Added:       src/server/jsp-tests/jsp/core_syntax/actions/include
                        includecommon.html includecommon.jsp
                        positiveIncludeCtxRelative.jsp
                        positiveIncludeCtxRelativeHtml.jsp
                        positiveIncludePageRelative.jsp
                        positiveIncludePageRelativeHtml.jsp
                        positiveRequestAttrCtxRelative.jsp
                        positiveRequestAttrPageRelative.jsp
  Log:
   - reorig of jsp:include tests (new and modified content)
  
  Revision  Changes    Path
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/actions/include/includecommon.html
  
  Index: includecommon.html
  ===================================================================
  <html>
  <title>included</title>
  <body>
  This is included html file
  </body>
  </html>
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/actions/include/includecommon.jsp
  
  Index: includecommon.jsp
  ===================================================================
  <html>
  <title>included</title>
  <body>
  <% out.print("This is included file"); %>
  </body>
  </html>
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/actions/include/positiveIncludeCtxRelative.jsp
  
  Index: positiveIncludeCtxRelative.jsp
  ===================================================================
  <html>
  <body>
  <% 
      /* 
        Name: positiveIncludeCtxRelative
        Description: Use a valid jsp:include 
        Result: The page should be included. 
         
      */ 
       
  %>
  <!-- testing for include directive -->
  <jsp:include page="/jsp/core_syntax/actions/include/includecommon.jsp" flush="true" />
  </body>
  </html>
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/actions/include/positiveIncludeCtxRelativeHtml.jsp
  
  Index: positiveIncludeCtxRelativeHtml.jsp
  ===================================================================
  <html>
  <title>positiveIncludeCtxRelativeHtml</title>
  <body>
  <% /** 	Name : positiveIncludeCtxRelativeHtml
  	Description :We are testing for static inclusion of html page using
          <jsp:include page > tag. We test if we get the included static content
          got  included in the output. Here we use absolute path from current 
          context  as   url.
  **/ %>
  <!-- testing absolute inclusion of html relative to from current context-->
  <jsp:include page= "/jsp/core_syntax/actions/include/includecommon.html" flush="true" />
  </body>
  </html>
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/actions/include/positiveIncludePageRelative.jsp
  
  Index: positiveIncludePageRelative.jsp
  ===================================================================
  <html>
  <body>
  <% 
      /* 
        Name: positiveIncludePageRelative 
        Description: Use a valid jsp:include directive 
        Result: The page should be included. 
         
      */ 
       
  %>
  <!-- testing for include directive -->
  <jsp:include page="includecommon.jsp" flush="true" />
  </body>
  </html>
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/actions/include/positiveIncludePageRelativeHtml.jsp
  
  Index: positiveIncludePageRelativeHtml.jsp
  ===================================================================
  <html>
  <title>positiveIncludePageRelativeHtml</title>
  <body>
  <% /** 	Name : positiveIncludePageRelativeHtml
  	Description :We are testing for request time Static inclusion using
          <jsp:include page > tag. We test if we get the included static content
          got  included in the output.here we use relative path from current 
          context  as   url.
  	Result :
  **/ %>
  <!-- testing static inclusion of html relative to from current context-->
  <jsp:include page= "includecommon.html" flush="true" />
  </body>
  </html>
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/actions/include/positiveRequestAttrCtxRelative.jsp
  
  Index: positiveRequestAttrCtxRelative.jsp
  ===================================================================
  <html>
  <title>positiveRequestAttrCtxRelative</title>
  <body>
  <% /** 	Name : positiveRequestAttrCtxRelative
  	Description :     We are testing for request time dynamic inclusion 
  	using <jsp:include page > tag. We test if we get the included jsp got
          parsed at request time and included to the output. we use absolute
          path from contex-root root as url
  **/ %>
  <% String test="/jsp/core_syntax/actions/include/includecommon"; %>
  <!-- Request-time Dynamic inclusion,with absolute url from context-root -->
  <jsp:include page= '<%= test+".jsp" %>' flush="true" />
  </body>
  </html>
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/actions/include/positiveRequestAttrPageRelative.jsp
  
  Index: positiveRequestAttrPageRelative.jsp
  ===================================================================
  <html>
  <title>positiveRequestAttrPageRelative</title>
  <body>
  <% /**  Name : positiveRequestAttrPageRelative
          Description : we check if request time attributes work with include
                        and we use them in double quoted expression
          Result : we should get the included file without error
   **/ %>
  <% String test="includecommon"; %>
  <jsp:include page= '<%= test+".jsp" %>' flush="true" />
  </body>
  </html>
  
  
  

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