jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vani...@locus.apache.org
Subject cvs commit: jakarta-watchdog/src/server/jsp-tests/jsp/engine/JspWriter/print negativePrintBoolean.jsp
Date Tue, 18 Jul 2000 22:07:47 GMT
vanitha     00/07/18 15:07:47

  Modified:    src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/useBean
                        positiveTypeAssignable.html
               src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/info
                        positiveInfo.html
               src/server/jsp-tests/jsp/core_syntax/beantests/setProperty
                        positiveSingleQuotes.jsp
               src/server/jsp-tests/jsp/core_syntax/beantests/useBean
                        negativeBody.jsp negativeNoBody.jsp
                        negativeTypeNonAssignable.jsp
                        positiveTypeAssignable.jsp
               src/server/jsp-tests/jsp/core_syntax/directives/forward
                        negativeForwardNoBuff.jsp
                        negativeForwardUsedStream.jsp
                        positiveForwardAbsHtml.jsp
                        positiveForwardRelHtml.jsp
               src/server/jsp-tests/jsp/core_syntax/directives/include
                        positiveIncludeStaticAbs.jsp
                        positiveIncludeStaticRel.jsp
               src/server/jsp-tests/jsp/core_syntax/directives/page/buffer
                        positiveBuffAutoflush.jsp positiveBuffCreate.jsp
               src/server/jsp-tests/jsp/core_syntax/directives/page/errorpage
                        negativeIsErrorPage.jsp negativeNoErrorPageBuff.jsp
                        positiveErrorPage.jsp
               src/server/jsp-tests/jsp/core_syntax/directives/page/imports
                        negativeImport.jsp
               src/server/jsp-tests/jsp/core_syntax/directives/page/info
                        positiveInfo.jsp
               src/server/jsp-tests/jsp/core_syntax/directives/page/language
                        included.jsp includedJava.jsp
               src/server/jsp-tests/jsp/core_syntax/directives/page/threadsafe
                        threadsafeFalse.jsp threadsafeTrue.jsp
               src/server/jsp-tests/jsp/engine/JspWriter/misc
                        negativeClearIOExpr.jsp negativeClearUnbuffered.jsp
                        negativeClose.jsp negativeFlush.jsp
                        positiveClose.jsp
               src/server/jsp-tests/jsp/engine/JspWriter/print
                        negativePrintBoolean.jsp
  Log:
  Fixed JSP tests to have comments complaint to the JSP1.1 specification
  Fixed two html files with errors.
  
  Revision  Changes    Path
  1.2       +2 -3      jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/useBean/positiveTypeAssignable.html
  
  Index: positiveTypeAssignable.html
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/useBean/positiveTypeAssignable.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveTypeAssignable.html	2000/01/27 18:49:55	1.1
  +++ positiveTypeAssignable.html	2000/07/18 22:07:40	1.2
  @@ -1,9 +1,8 @@
   <html>
   <title>positiveTypeAssignable</title>
   <body>
  -<!- we are using 'class' and 'type' together and 'class' is assignable to type->
   
  -
  +<!-- we are using 'class' and 'type' together and 'class' is assignable to type-->
   0
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +3 -3      jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/info/positiveInfo.html
  
  Index: positiveInfo.html
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/info/positiveInfo.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveInfo.html	2000/01/27 18:50:02	1.1
  +++ positiveInfo.html	2000/07/18 22:07:40	1.2
  @@ -1,10 +1,10 @@
   <html>
   <title>positiveInfo</title>
   <body>
  -                
  -<!--- testing whether the info directive is working ---!>
   
  +<!-- Testing for the 'info' directive -->
  +
   positiveInfo of JCK
   
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +1 -1      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/beantests/setProperty/positiveSingleQuotes.jsp
  
  Index: positiveSingleQuotes.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/beantests/setProperty/positiveSingleQuotes.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveSingleQuotes.jsp	1999/10/09 00:43:23	1.1
  +++ positiveSingleQuotes.jsp	2000/07/18 22:07:41	1.2
  @@ -6,7 +6,7 @@
                         as 'value' attribute in setProperty
   	Result :we should get the expected page without error
   **/ %>	 
  -<!- testing if are able to set a  property using single quoted expression -->
  +<!-- testing if are able to set a  property using single quoted expression -->
   <jsp:useBean id="myBean" class="core_syntax.beantests.setProperty.MiscBean" />
   <% int k=10;  %>
   <% byte p=10; %>
  
  
  
  1.2       +2 -2      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/beantests/useBean/negativeBody.jsp
  
  Index: negativeBody.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/beantests/useBean/negativeBody.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- negativeBody.jsp	1999/10/09 00:43:24	1.1
  +++ negativeBody.jsp	2000/07/18 22:07:41	1.2
  @@ -8,7 +8,7 @@
   **/ %>	 <!-- Declaring the bean with body -->
   <!-- Here the bean tag is not closed -->
   <jsp:useBean id="myBean" scope="request" class="core_syntax.beantests.useBean.String_IntBean"
>
  -<jsp:setProperty property="Name" value="APPLE" />
  -<jsp:getProperty name=myBean property="Name" />
  +<jsp:setProperty name="myBean" property="Name" value="APPLE" />
  +<jsp:getProperty name="myBean" property="Name" />
   </body>
   </html> 
  
  
  
  1.2       +1 -1      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/beantests/useBean/negativeNoBody.jsp
  
  Index: negativeNoBody.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/beantests/useBean/negativeNoBody.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- negativeNoBody.jsp	1999/10/09 00:43:27	1.1
  +++ negativeNoBody.jsp	2000/07/18 22:07:41	1.2
  @@ -8,6 +8,6 @@
   **/ %>	 <!-- Declaring the bean with body -->
   <!-- Here the tag is not closed. Hence bound for error -->
   <jsp:useBean id="myBean" scope="request" class="core_syntax.beantests.useBean.String_IntBean"
>
  -<jsp:getProperty name=myBean property="Name" />
  +<jsp:getProperty name="myBean" property="Name" />
   </body>
   </html> 
  
  
  
  1.2       +2 -2      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/beantests/useBean/negativeTypeNonAssignable.jsp
  
  Index: negativeTypeNonAssignable.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/beantests/useBean/negativeTypeNonAssignable.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- negativeTypeNonAssignable.jsp	1999/10/09 00:43:26	1.1
  +++ negativeTypeNonAssignable.jsp	2000/07/18 22:07:41	1.2
  @@ -6,7 +6,7 @@
   	              is not assignable to 'type'.
   	Result :
   **/ %>	 
  -<!- using 'class' and 'type' together and 'class' is not assignable to type->
  +<!-- using 'class' and 'type' together and 'class' is not assignable to type -->
   <% try { %>
   <jsp:useBean id="ncounter"  class="core_syntax.beantests.useBean.NewCounter"
   type="java.util.Properties" />
  @@ -14,4 +14,4 @@
   } %>
   
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +2 -2      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/beantests/useBean/positiveTypeAssignable.jsp
  
  Index: positiveTypeAssignable.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/beantests/useBean/positiveTypeAssignable.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveTypeAssignable.jsp	1999/10/09 00:43:32	1.1
  +++ positiveTypeAssignable.jsp	2000/07/18 22:07:41	1.2
  @@ -6,9 +6,9 @@
   		      is assignable to 'type'. 
   	Result :we should get the expected page without an error
   **/ %>	 
  -<!- we are using 'class' and 'type' together and 'class' is assignable to type->
  +<!-- we are using 'class' and 'type' together and 'class' is assignable to type-->
   <jsp:useBean id="ncounter"  class="core_syntax.beantests.useBean.NewCounter"
   type="core_syntax.beantests.useBean.Counter" />
   <% out.println( ncounter.getCount());  %>
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +2 -2      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/forward/negativeForwardNoBuff.jsp
  
  Index: negativeForwardNoBuff.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/forward/negativeForwardNoBuff.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- negativeForwardNoBuff.jsp	1999/10/09 00:43:34	1.1
  +++ negativeForwardNoBuff.jsp	2000/07/18 22:07:42	1.2
  @@ -7,10 +7,10 @@
           IllegalStateException
   	Result :
   **/ %>	 
  -<!-- testing whether forwarding works if we stream is unbuffered->
  +<!-- 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>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +2 -2      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/forward/negativeForwardUsedStream.jsp
  
  Index: negativeForwardUsedStream.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/forward/negativeForwardUsedStream.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- negativeForwardUsedStream.jsp	1999/10/09 00:43:34	1.1
  +++ negativeForwardUsedStream.jsp	2000/07/18 22:07:42	1.2
  @@ -7,10 +7,10 @@
   	IllegalStateException
   	Result :
   **/ %>	 
  -<!-- testing whether forwarding works if we stream is already used->
  +<!-- 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>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +1 -1      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/forward/positiveForwardAbsHtml.jsp
  
  Index: positiveForwardAbsHtml.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/forward/positiveForwardAbsHtml.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveForwardAbsHtml.jsp	1999/10/09 00:43:35	1.1
  +++ positiveForwardAbsHtml.jsp	2000/07/18 22:07:42	1.2
  @@ -8,7 +8,7 @@
   	Result :
   **/ %>	 
   
  -<!-- testing whether forwarding works using absolute url relative to doc root->
  +<!-- testing whether forwarding works using absolute url relative to doc root-->
   <jsp:forward page= "/tests/core_syntax/directives/forward/includecommon.html" />
   </body>
   </html>
  
  
  
  1.2       +1 -1      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/forward/positiveForwardRelHtml.jsp
  
  Index: positiveForwardRelHtml.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/forward/positiveForwardRelHtml.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveForwardRelHtml.jsp	1999/10/09 00:43:35	1.1
  +++ positiveForwardRelHtml.jsp	2000/07/18 22:07:42	1.2
  @@ -8,7 +8,7 @@
   	Result : we expect the forwarded page to come
   **/ %>	 
   
  -<!-- testing whether forwarding works using url relative to current context->
  +<!-- testing whether forwarding works using url relative to current context-->
   <jsp:forward page= "includecommon.html" />
   </body>
   </html>
  
  
  
  1.2       +2 -2      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/include/positiveIncludeStaticAbs.jsp
  
  Index: positiveIncludeStaticAbs.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/include/positiveIncludeStaticAbs.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveIncludeStaticAbs.jsp	1999/10/09 00:43:41	1.1
  +++ positiveIncludeStaticAbs.jsp	2000/07/18 22:07:42	1.2
  @@ -8,7 +8,7 @@
           url.
   	Result :
   **/ %>	 
  -<!- testing Request-time static inclusion with absolute url from docroot -->
  +<!-- testing Request-time static inclusion with absolute url from docroot -->
   <jsp:include page= "/tests/core_syntax/directives/include/includecommon.html" />
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +2 -2      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/include/positiveIncludeStaticRel.jsp
  
  Index: positiveIncludeStaticRel.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/include/positiveIncludeStaticRel.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveIncludeStaticRel.jsp	1999/10/09 00:43:41	1.1
  +++ positiveIncludeStaticRel.jsp	2000/07/18 22:07:42	1.2
  @@ -8,7 +8,7 @@
           context  as   url.
   	Result :
   **/ %>	 
  -<!- testing Request-time static inclusion relative to from current context->
  +<!-- testing Request-time static inclusion relative to from current context-->
   <jsp:include page= "includecommon.html" />
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +2 -2      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/buffer/positiveBuffAutoflush.jsp
  
  Index: positiveBuffAutoflush.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/buffer/positiveBuffAutoflush.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveBuffAutoflush.jsp	1999/10/09 00:43:43	1.1
  +++ positiveBuffAutoflush.jsp	2000/07/18 22:07:43	1.2
  @@ -7,8 +7,8 @@
   		Result: Should return all data written to out without throwing an
   			  exception.
   **/ %>		
  -<!--- with default buff size 0f 8kb and autoflush true write more data 22kb --!>
  +<!-- with default buff size 0f 8kb and autoflush true write more data 22kb -->
   <%@ page autoFlush="true" %>
   <% for(int d=0;d<6000;d++) out.print(d+"    ");  %>
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +2 -2      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/buffer/positiveBuffCreate.jsp
  
  Index: positiveBuffCreate.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/buffer/positiveBuffCreate.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveBuffCreate.jsp	1999/10/09 00:43:44	1.1
  +++ positiveBuffCreate.jsp	2000/07/18 22:07:43	1.2
  @@ -7,8 +7,8 @@
   			  the flush() method on out to flush the output to the client.
   		Result:Should return the output that you sent to the client.
   **/ %>		
  -<!--- with buff size 0f 12kb and autoflush false and do flush ----!>
  +<!-- with buff size 0f 12kb and autoflush false and do flush -->
   <%@ page buffer="12kb" autoFlush="false" %>
   <% for(int d=0;d<1000;d++) out.print(d+"    "); out.flush(); %>
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +2 -3      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/errorpage/negativeIsErrorPage.jsp
  
  Index: negativeIsErrorPage.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/errorpage/negativeIsErrorPage.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- negativeIsErrorPage.jsp	1999/10/09 00:43:45	1.1
  +++ negativeIsErrorPage.jsp	2000/07/18 22:07:44	1.2
  @@ -7,10 +7,9 @@
   	              in a scriptlet.
   	Result :Fatal Translation Error
   **/ %>	 
  -<!--we are setting the error page to errorpageWrong.jsp -->
  -<!--where iserrorpage is false --!>
  +<!-- We are setting the error page to "errorpageWrong.jsp" where iserrorpage is false
-->
   <%@ page errorPage="errorpageWrong.jsp" autoFlush="false" %>
   <%! int i=0; %>
   <%= 9/i %>
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +3 -2      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/errorpage/negativeNoErrorPageBuff.jsp
  
  Index: negativeNoErrorPageBuff.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/errorpage/negativeNoErrorPageBuff.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- negativeNoErrorPageBuff.jsp	1999/10/09 00:43:46	1.1
  +++ negativeNoErrorPageBuff.jsp	2000/07/18 22:07:44	1.2
  @@ -7,9 +7,10 @@
   	              second page, set the buffer to false and iserrorpage to 
   	              true. Access the first page.
   	Result :Fatal translation error
  -**/ %>	 <!-- we are setting the error page to errorpage.jsp where buffer is none-!>
  +**/ %>	 
  +<!-- We are setting the error page to "errorpage.jsp" where buffer is none -->
   <%@ page errorPage="errorpageNoBuff.jsp"  autoFlush="false" %>
   <%! int i=0; %>
   <%= 9/i %>
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +2 -2      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/errorpage/positiveErrorPage.jsp
  
  Index: positiveErrorPage.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/errorpage/positiveErrorPage.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveErrorPage.jsp	1999/10/09 00:43:47	1.1
  +++ positiveErrorPage.jsp	2000/07/18 22:07:44	1.2
  @@ -6,9 +6,9 @@
   	generated by dividing an integer value by 0.
   	Result :Expected to show the specified errorpage.
   **/ %>	 
  -<!--we are setting the error page to errorpage.jsp where iserrorpage is true ->
  +<!-- We are setting the error page to "errorpage.jsp" where iserrorpage is true -->
   <%@ page errorPage="myErrorpage.jsp" autoFlush="false" %>
   <%! int i=0; %>
   <%= 9/i %>
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +2 -3      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/imports/negativeImport.jsp
  
  Index: negativeImport.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/imports/negativeImport.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- negativeImport.jsp	1999/10/09 00:43:51	1.1
  +++ negativeImport.jsp	2000/07/18 22:07:44	1.2
  @@ -6,8 +6,7 @@
   			   to java.Create an import statement with any package.
   		Result:Undefined? Error?
   **/ %>		
  -<!-language defined to something other than java and we import a java -->
  -<!--package to check if import works-->
  +<!-- Language defined to something other than java and invalid import. Test should fail
-->
   <%@ page  language="c" import="java.util.Properties" %>
   
   <%  Properties props=new Properties(); 
  @@ -17,4 +16,4 @@
    %>
    
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +1 -1      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/info/positiveInfo.jsp
  
  Index: positiveInfo.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/info/positiveInfo.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveInfo.jsp	1999/10/09 00:43:51	1.1
  +++ positiveInfo.jsp	2000/07/18 22:07:45	1.2
  @@ -7,7 +7,7 @@
   			  page's Servlet object
   		Result: Should return the correct value of the set string. 
   **/ %>		
  -<!--- testing whether the info directive is working ---!>
  +<!-- Testing for the 'info' directive -->
   <%@ page info="positiveInfo of JCK" %>
   <% out.println(getServletInfo()); %>
   </body>
  
  
  
  1.2       +2 -2      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/language/included.jsp
  
  Index: included.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/language/included.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- included.jsp	1999/10/09 00:43:52	1.1
  +++ included.jsp	2000/07/18 22:07:45	1.2
  @@ -2,7 +2,7 @@
   <title>included</title>
   <body>
   <!-- this is included by negativeLangIncludeAny.jsp-->
  -<%@ jsp language="javascript" %>
  +<%@ page language="javascript" %>
   <% out.println("hello from included"); %>
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +2 -2      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/language/includedJava.jsp
  
  Index: includedJava.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/language/includedJava.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- includedJava.jsp	1999/10/09 00:43:52	1.1
  +++ includedJava.jsp	2000/07/18 22:07:45	1.2
  @@ -2,7 +2,7 @@
   <title>includedJava</title>
   <body>
   <!-- this is included by negativeLangIncludeJava.jsp-->
  -<%@ jsp language="java" %>
  +<%@ page language="java" %>
   <% out.println("hello from includedJava"); %>
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +4 -4      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/threadsafe/threadsafeFalse.jsp
  
  Index: threadsafeFalse.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/threadsafe/threadsafeFalse.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- threadsafeFalse.jsp	1999/10/09 00:43:55	1.1
  +++ threadsafeFalse.jsp	2000/07/18 22:07:45	1.2
  @@ -1,10 +1,10 @@
   <html>
   <title>theadsafeFalse</title>
   <body>
  -<!-- this is going to make any client to wait for infinite time -->
  -<!--if isthreadsafe is false , following condition should happen -->
  -<!- jsp processor dispatches multiple outstanding requests one at a time-->
  -<!-- here we keep buffer as 'none' so that output goes directly to the stream-->
  +<!-- This is going to make any client to wait for an infinite amount of time -->
  +<!-- If 'isthreadsafe' is false , following condition should happen -->
  +<!-- JSP processor dispatches multiple outstanding requests one at a time -->
  +<!-- Here we keep buffer as 'none' so that output goes directly to the stream -->
   <%@ page isThreadSafe="false" buffer="none" %>
   <%! int i=2; %>
   <% out.println(i); %>
  
  
  
  1.2       +4 -4      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/threadsafe/threadsafeTrue.jsp
  
  Index: threadsafeTrue.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/threadsafe/threadsafeTrue.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- threadsafeTrue.jsp	1999/10/09 00:43:55	1.1
  +++ threadsafeTrue.jsp	2000/07/18 22:07:45	1.2
  @@ -1,10 +1,10 @@
   <html>
   <title>theadsafeTrue</title>
   <body>
  -<!-- this is going to make any client to wait for infinite time -->
  -<!--if isthreadsafe is true , following condition should happen -->
  -<!- jsp processor dispatches multiple outstanding requests simultaneously-->
  -<!-- here we keep buffer as 'none' so that output goes directly to the stream-->
  +<!-- This is going to make any client to wait for an infinite amount of time -->
  +<!-- If 'isthreadsafe' is true, following condition should happen -->
  +<!-- JSP processor dispatches multiple outstanding requests simultaneously -->
  +<!-- Here we keep buffer as 'none' so that output goes directly to the stream -->
   <%@ page isThreadSafe="true" buffer="none" autoFlush="true" %>
   <%! int i=2; %>
   <% out.println(i); %>
  
  
  
  1.2       +3 -3      jakarta-watchdog/src/server/jsp-tests/jsp/engine/JspWriter/misc/negativeClearIOExpr.jsp
  
  Index: negativeClearIOExpr.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/engine/JspWriter/misc/negativeClearIOExpr.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- negativeClearIOExpr.jsp	1999/10/09 00:44:00	1.1
  +++ negativeClearIOExpr.jsp	2000/07/18 22:07:46	1.2
  @@ -8,12 +8,12 @@
    should happen for the current situation.
   */
   %>
  -<!- this is to test if clear method throws IOException if stream is closed ->
  +<!-- This is to test if clear method throws IOException if stream is closed -->
   <%@ page import="java.io.*;" %>
   <% out.println("hello"); %>
   <% out.close(); %>
   <!-- To report that 'out' is null, we dont have a stream to client available -->
  -<!- we create a file  which is seen by javatest->  
  +<!-- We create a file  which is seen by javatest -->  
   <%! String dir; %>
   <% String path=request.getPathTranslated(); %>
   <% if(path!=null) {
  @@ -28,7 +28,7 @@
                     
   %>
   
  -<!-- now lets try to clear the stream -->
  +<!-- Now lets try to clear the stream -->
   <% try { out.clear(); fw.write("no IOException"); fw.flush();fw.close();
   }catch(java.io.IOException ioe) { %>
   <% fw.write("we got IOException"); fw.flush();fw.close(); }%>
  
  
  
  1.2       +2 -2      jakarta-watchdog/src/server/jsp-tests/jsp/engine/JspWriter/misc/negativeClearUnbuffered.jsp
  
  Index: negativeClearUnbuffered.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/engine/JspWriter/misc/negativeClearUnbuffered.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- negativeClearUnbuffered.jsp	1999/10/09 00:44:00	1.1
  +++ negativeClearUnbuffered.jsp	2000/07/18 22:07:46	1.2
  @@ -8,10 +8,10 @@
    Now try to use the clear() method.
   */
   %>
  -<!- this is to test if clear() method throws IllegalStateException if buffer is none
->
  +<!-- This is to test if clear() method throws IllegalStateException if buffer is none
-->
   <%@ page buffer="none" %>
   <% out.println("hello"); %>
   <% try { out.clear(); }catch(IllegalStateException ise) { %>
   <% out.println("we got Illegal state Exception"); }%>
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +4 -4      jakarta-watchdog/src/server/jsp-tests/jsp/engine/JspWriter/misc/negativeClose.jsp
  
  Index: negativeClose.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/engine/JspWriter/misc/negativeClose.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- negativeClose.jsp	1999/10/09 00:44:00	1.1
  +++ negativeClose.jsp	2000/07/18 22:07:46	1.2
  @@ -6,12 +6,12 @@
    Description : We closing the stream and trying to write into the stream.
   **/ %>
   
  -<!- this is to test if clear method throws IOException if stream is closed ->
  +<!-- This is to test if clear method throws IOException if stream is closed -->
   <%@ page import="java.io.*;" %>
   <% out.println("hello"); %>
   <% out.close(); %>
   <!-- To report that 'out' is null, we dont have a stream to client available -->
  -<!- we create a file in the directory which is seen by javatest->
  +<!-- We create a file in the directory which is seen by javatest -->
   <%! String dir; %>
   <% String path=request.getPathTranslated(); %>
   <% if(path!=null) {
  @@ -24,9 +24,9 @@
                    java.io.FileWriter fw=new java.io.FileWriter(file);
   %>
   
  -<!-- now lets try to clear the stream -->
  +<!-- Now lets try to clear the stream -->
   <% try { out.println("oops");  fw.write("no IOException"); fw.flush();fw.close();
   }catch(java.io.IOException ioe) { %>
   <% fw.write("we got IOException"); fw.flush();fw.close(); }%>
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +4 -4      jakarta-watchdog/src/server/jsp-tests/jsp/engine/JspWriter/misc/negativeFlush.jsp
  
  Index: negativeFlush.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/engine/JspWriter/misc/negativeFlush.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- negativeFlush.jsp	1999/10/09 00:44:00	1.1
  +++ negativeFlush.jsp	2000/07/18 22:07:46	1.2
  @@ -8,13 +8,13 @@
                  later call the flush method.
   **/ %>
   
  -<!- this is to test if flush method throws IOException if stream is closed ->
  +<!-- This is to test if flush method throws IOException if stream is closed -->
   <%@ page import="java.io.*;" %>
   <% out.println("hello"); %>
   <% out.close(); %>
   
   <!-- To report this situation, we dont have a stream to client available -->
  -<!- we create a file in the directory where jsp is kept which is seen by javatest->
  +<!-- we create a file in the directory where jsp is kept which is seen by javatest -->
   <%! String dir; %>
   <% String path=request.getPathTranslated(); %>
   <% if(path!=null) {
  @@ -27,9 +27,9 @@
   		 java.io.FileWriter fw=new java.io.FileWriter(file);
   %>
   
  -<!-- now lets try to flush the stream -->
  +<!-- Now lets try to flush the stream -->
   <% try { out.flush(); fw.write("no IOException"); fw.flush();fw.close();
   }catch(java.io.IOException ioe) { %>
   <% fw.write("we got IOException"); fw.flush();fw.close(); }%>
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +3 -3      jakarta-watchdog/src/server/jsp-tests/jsp/engine/JspWriter/misc/positiveClose.jsp
  
  Index: positiveClose.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/engine/JspWriter/misc/positiveClose.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveClose.jsp	1999/10/09 00:44:00	1.1
  +++ positiveClose.jsp	2000/07/18 22:07:46	1.2
  @@ -8,13 +8,13 @@
    the stream, try to write something into the stream. 
    */
    %>
  -<!-- this is to test if close method works -->
  -<!-- we should get 'out' object to be null after closing output -->
  +<!-- This is to test if close method works -->
  +<!-- We should get 'out' object to be null after closing output -->
   <%@ page import="java.io.*;" %>
   <% out.println("hello"); %>
   <% out.close(); %>
   <!-- To report that 'out' is null, we dont have a stream to client available -->
  -<!- we create a file in the directory where jsp is kept which is seen by javatest->
  +<!-- We create a file in the directory where jsp is kept which is seen by javatest -->
   <%! String dir; %>
   <% String path=request.getPathTranslated(); %>
   <% if(path!=null) {
  
  
  
  1.2       +4 -4      jakarta-watchdog/src/server/jsp-tests/jsp/engine/JspWriter/print/negativePrintBoolean.jsp
  
  Index: negativePrintBoolean.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/engine/JspWriter/print/negativePrintBoolean.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- negativePrintBoolean.jsp	1999/10/09 00:44:01	1.1
  +++ negativePrintBoolean.jsp	2000/07/18 22:07:47	1.2
  @@ -6,13 +6,13 @@
    Name : negativePrintBoolean
   */
   %>
  -<!- this is to test if print(boolean) throws IOException if stream is closed ->
  +<!-- This is to test if print(boolean) throws IOException if stream is closed -->
   <%@ page import="java.io.*;" %>
   <% out.println("hello"); %>
   <% out.close(); %>
   
   <!-- To report this situation, we dont have a stream to client available -->
  -<!- we create a file in the directory where jsp is kept which is seen by javatest->
  +<!-- We create a file in the directory where jsp is kept which is seen by javatest -->
   <%! String dir; %>
   <% String path=request.getPathTranslated(); %>
   <% if(path!=null) {
  @@ -24,9 +24,9 @@
               java.io.File file=new java.io.File(dir+System.getProperty("file.separator")+"negativePrintBoolean.err");

               java.io.FileWriter fw=new java.io.FileWriter(file);%>
   <% boolean b=true; %>
  -<!-- now lets try to flush the stream -->
  +<!-- Now lets try to flush the stream -->
   <% try { out.println(b); fw.write("no IOException"); fw.flush();fw.close();
   }catch(java.io.IOException ioe) { %>
   <% fw.write("we got IOException"); fw.flush();fw.close(); }%>
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  

Mime
View raw message