rlubke      02/01/28 16:07:18

  Modified:    src/server/jsp-tests/jsp/tagext/TagSupport
                        default_return_values.jsp positiveDoAfterBody.jsp
                        positiveDoEndTag.jsp positiveDoStartTag.jsp
                        positiveGetParent.jsp positiveGetValue.jsp
                        positiveGetValues.jsp positiveRemoveValue.jsp
                        positiveSetGetId.jsp positiveSetPageContext.jsp
                        positiveSetValue.jsp
                        positivefindAncestorWithClass.jsp
  Log:
   - content push from CTS
  
  Revision  Changes    Path
  1.3       +2 -2      
jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/default_return_values.jsp
  
  Index: default_return_values.jsp
  ===================================================================
  RCS file: 
/home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/default_return_values.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- default_return_values.jsp 18 Dec 2001 17:56:04 -0000      1.2
  +++ default_return_values.jsp 29 Jan 2002 00:07:18 -0000      1.3
  @@ -8,9 +8,9 @@
                      methods in TagSupport class
                     
                    
  -     Result :   dfauult return values should be printed
  +     Result : default return values should be printed
        **/  
  -%>    
  +%>
   
   
   <%@ taglib uri="/TestLib.tld" prefix="def" %>
  
  
  
  1.3       +1 -1      
jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveDoAfterBody.jsp
  
  Index: positiveDoAfterBody.jsp
  ===================================================================
  RCS file: 
/home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveDoAfterBody.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- positiveDoAfterBody.jsp   18 Dec 2001 17:56:04 -0000      1.2
  +++ positiveDoAfterBody.jsp   29 Jan 2002 00:07:18 -0000      1.3
  @@ -24,7 +24,7 @@
                   "JSP is cool"
                   "End of tag reached"
        **/  
  -%>    
  +%>
   
   
   <%@ taglib uri="/TestLib.tld" prefix="test"  %>
  
  
  
  1.2       +1 -1      
jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveDoEndTag.jsp
  
  Index: positiveDoEndTag.jsp
  ===================================================================
  RCS file: 
/home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveDoEndTag.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveDoEndTag.jsp      30 Nov 2000 23:43:03 -0000      1.1
  +++ positiveDoEndTag.jsp      29 Jan 2002 00:07:18 -0000      1.2
  @@ -10,7 +10,7 @@
                    
        Result :   "End of tag Reached" should be printed 
        **/  
  -%>    
  +%>
   
   
   <%@ taglib uri="/TestLib.tld" prefix="test"  %>
  
  
  
  1.2       +2 -5      
jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveDoStartTag.jsp
  
  Index: positiveDoStartTag.jsp
  ===================================================================
  RCS file: 
/home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveDoStartTag.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveDoStartTag.jsp    4 Oct 2000 00:26:19 -0000       1.1
  +++ positiveDoStartTag.jsp    29 Jan 2002 00:07:18 -0000      1.2
  @@ -9,13 +9,10 @@
                      indicating that this is called.
        Result :   The passed attribute value should be printed.
        **/  
  -%>    
  -
  -
  +%>
   <%@ taglib uri="http://java.apache.org/tomcat/examples-taglib"; prefix="eg" %>
   
   <eg:test toBrowser="true" att1="doStartTag">
  -Test For 
  -</eg:test>
  +Test For </eg:test>
   </body>
   </html>
  
  
  
  1.2       +4 -7      
jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveGetParent.jsp
  
  Index: positiveGetParent.jsp
  ===================================================================
  RCS file: 
/home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveGetParent.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveGetParent.jsp     4 Oct 2000 00:26:19 -0000       1.1
  +++ positiveGetParent.jsp     29 Jan 2002 00:07:18 -0000      1.2
  @@ -1,20 +1,17 @@
   <html>
   <title>positiveGetParent</title>
   <body>
  -<% 
  +<%
        /**     
        Name : positiveGetParent
        Description : Call the "test" tag passing an attribute
  -                   "getParent".The "test" tag implementation class
  +                   "getParent".  The "test" tag implementation class
                      calls the getParent() method and returns the parent
  -                   class name.Print the name.
  +                   class name.  Print the name.
        Result :   The parent class name should be printed.
        **/  
  -%>    
  -
  -
  +%>
   <%@ taglib uri="http://java.apache.org/tomcat/examples-taglib"; prefix="eg" %>
  -
   <eg:test toBrowser="true" att1="getParent" att2="getParent">
   getParent method </eg:test>
   </body>
  
  
  
  1.3       +4 -10     
jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveGetValue.jsp
  
  Index: positiveGetValue.jsp
  ===================================================================
  RCS file: 
/home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveGetValue.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- positiveGetValue.jsp      23 Jul 2001 21:51:47 -0000      1.2
  +++ positiveGetValue.jsp      29 Jan 2002 00:07:18 -0000      1.3
  @@ -1,25 +1,20 @@
   <html>
   <title>positiveGetValue</title>
   <body>
  -
   <%
       /*
       
       Name:  positiveGetValue
       Description: Create a TagSupport object and set values using
  -                  the setValue() method.Call the getValue() method
  +                  the setValue() method. Call the getValue() method
                     and print the contents.
        Result:     The values which were set should be printed.             
    */
    
  - %>   
  -
  -
  -
  +%>
   <%
   
  -     javax.servlet.jsp.tagext.TagSupport ts =
  -          new javax.servlet.jsp.tagext.TagSupport();
  +     javax.servlet.jsp.tagext.TagSupport ts = new 
javax.servlet.jsp.tagext.TagSupport();
        
        ts.setValue("Color1","red");
        ts.setValue("Color2","green");
  @@ -27,10 +22,9 @@
        for(int i=1;i<=2;i++) {
                out.println("Colors are  " + ts.getValue("Color"+i));
   
  -%> 
  +%>
   <br> <% }
   %>
  -
   
   </body>
   </html>
  
  
  
  1.3       +4 -10     
jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveGetValues.jsp
  
  Index: positiveGetValues.jsp
  ===================================================================
  RCS file: 
/home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveGetValues.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- positiveGetValues.jsp     23 Jul 2001 21:51:47 -0000      1.2
  +++ positiveGetValues.jsp     29 Jan 2002 00:07:18 -0000      1.3
  @@ -6,24 +6,20 @@
       
       Name:  positiveGetValues
       Description: Create a TagSupport object and set values using
  -                  the setValue() method.Call the getValues() method
  -                  which returns an enumeration,and print the contents.
  +                  the setValue() method.  Call the getValues() method
  +                  which returns an enumeration, and print the contents.
        Result:     The values which were set should be printed.             
    */
    
  - %>   
  -
  -
  +%>
   <%
   
  -     javax.servlet.jsp.tagext.TagSupport ts =
  -          new javax.servlet.jsp.tagext.TagSupport();
  +     javax.servlet.jsp.tagext.TagSupport ts = new 
javax.servlet.jsp.tagext.TagSupport();
        
        ts.setValue("Color1","red");
        ts.setValue("Color2","green");
   %>
   <!-- Returns only keys names -->
  -
   <%
   
        java.util.Enumeration e = ts.getValues();
  @@ -32,7 +28,5 @@
                out.println(v);
       }
   %>
  -
  -
   </body>
   </html>
  
  
  
  1.3       +6 -11     
jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveRemoveValue.jsp
  
  Index: positiveRemoveValue.jsp
  ===================================================================
  RCS file: 
/home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveRemoveValue.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- positiveRemoveValue.jsp   23 Jul 2001 21:51:47 -0000      1.2
  +++ positiveRemoveValue.jsp   29 Jan 2002 00:07:18 -0000      1.3
  @@ -5,18 +5,15 @@
        /**     
        Name : positiveRemoveValue
        Description : Create a TagSupport object and set values
  -                   using the setValue() method.Get the values 
  -                   set using the getValue() method.Call the removeValue()
  -                   method and remove one value.Print the rest.
  -     Result :   The values, except the one removed ,should be printed.
  +                   using the setValue() method.  Get the values 
  +                   set using the getValue() method.  Call the removeValue()
  +                   method and remove one value.  Print the rest.
  +     Result :   The values, except the one removed, should be printed.
        **/  
   %>
  -
  -
   <%
   
  -     javax.servlet.jsp.tagext.TagSupport ts =
  -          new javax.servlet.jsp.tagext.TagSupport();
  +     javax.servlet.jsp.tagext.TagSupport ts = new 
javax.servlet.jsp.tagext.TagSupport();
        
        ts.setValue("Color1","red");
        ts.setValue("Color2","green");
  @@ -24,7 +21,7 @@
        for(int i=1;i<=2;i++) {
                out.println("Colors are  " + ts.getValue("Color"+i));
   
  -%> 
  +%>
   <br> <% }
   %>
   
  @@ -34,7 +31,5 @@
   out.println( ts.getValue("Color1"));
   
   %>
  -
  -
   </body>
   </html>
  
  
  
  1.3       +1 -1      
jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveSetGetId.jsp
  
  Index: positiveSetGetId.jsp
  ===================================================================
  RCS file: 
/home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveSetGetId.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- positiveSetGetId.jsp      18 Dec 2001 17:56:04 -0000      1.2
  +++ positiveSetGetId.jsp      29 Jan 2002 00:07:18 -0000      1.3
  @@ -10,7 +10,7 @@
        Result :   The setId and getId methods should work fine.The value
                   passed in the id attribute should be printed 
        **/  
  -%>    
  +%>
   
   
   <%@ taglib uri="/TestLib.tld" prefix="test"  %>
  
  
  
  1.3       +4 -4      
jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveSetPageContext.jsp
  
  Index: positiveSetPageContext.jsp
  ===================================================================
  RCS file: 
/home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveSetPageContext.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- positiveSetPageContext.jsp        13 Oct 2000 00:05:17 -0000      1.2
  +++ positiveSetPageContext.jsp        29 Jan 2002 00:07:18 -0000      1.3
  @@ -4,13 +4,13 @@
   <% 
        /**     
        Name : positiveSetPageContext
  -     Description : Page tag is used here.setPageContext()
  -                   is used to set the page context.Using this
  -                   page context obj we set an attribute.The attribute
  +     Description : Page tag is used here.  setPageContext()
  +                   is used to set the page context.  Using this
  +                   page context obj we set an attribute.  The attribute
                      is passed to the jsp page.
        Result :   The attribute should be printed.
        **/  
  -%>    
  +%>
   
   
   <%@ taglib uri="http://java.apache.org/tomcat/examples-taglib"; prefix="eg" %>
  
  
  
  1.3       +4 -9      
jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveSetValue.jsp
  
  Index: positiveSetValue.jsp
  ===================================================================
  RCS file: 
/home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveSetValue.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- positiveSetValue.jsp      23 Jul 2001 21:51:47 -0000      1.2
  +++ positiveSetValue.jsp      29 Jan 2002 00:07:18 -0000      1.3
  @@ -6,19 +6,15 @@
       
       Name:  positiveSetValue
       Description: Create a TagSupport object and set values using
  -                  the setValue() method.Call the getValue() method
  +                  the setValue() method.  Call the getValue() method
                     and print the contents.
        Result:     The values which were set should be printed.             
    */
    
  - %>   
  -
  -
  -
  +%>
   <%
   
  -     javax.servlet.jsp.tagext.TagSupport ts =
  -          new javax.servlet.jsp.tagext.TagSupport();
  +     javax.servlet.jsp.tagext.TagSupport ts = new 
javax.servlet.jsp.tagext.TagSupport();
        
        ts.setValue("Color1","red");
        ts.setValue("Color2","green");
  @@ -26,9 +22,8 @@
        for(int i=1;i<=2;i++) {
                out.println("Colors are  " + ts.getValue("Color"+i));
   
  -%> 
  +%>
   <br> <% }
   %>
  -
   </body>
   </html>
  
  
  
  1.3       +2 -2      
jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positivefindAncestorWithClass.jsp
  
  Index: positivefindAncestorWithClass.jsp
  ===================================================================
  RCS file: 
/home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positivefindAncestorWithClass.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- positivefindAncestorWithClass.jsp 30 Nov 2000 23:55:54 -0000      1.2
  +++ positivefindAncestorWithClass.jsp 29 Jan 2002 00:07:18 -0000      1.3
  @@ -4,12 +4,12 @@
   <% 
        /**     
        Name :positivefindAncestorWithClass
  -        Description : Test the coordination between nested tags.A person 
  +        Description : Test the coordination between nested tags.  A person 
                      can be eligible for only one prize. 
                    
        Result :  The name of the prize winners is printed.
        **/  
  -%>    
  +%>
   
   
   <%@ taglib uri="/TestLib.tld" prefix="test"  %>
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to