rlubke      02/01/28 16:06:34

  Modified:    src/server/jsp-tests/jsp/tagext/TagData
                        positiveTagGetAttribute.jsp
                        positiveTagGetAttributeString.jsp
                        positiveTagSetAttribute.jsp
  Log:
   - content push from CTS
  
  Revision  Changes    Path
  1.3       +3 -5      
jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagData/positiveTagGetAttribute.jsp
  
  Index: positiveTagGetAttribute.jsp
  ===================================================================
  RCS file: 
/home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagData/positiveTagGetAttribute.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- positiveTagGetAttribute.jsp       23 Jul 2001 21:51:47 -0000      1.2
  +++ positiveTagGetAttribute.jsp       29 Jan 2002 00:06:34 -0000      1.3
  @@ -9,8 +9,7 @@
                      getAttribute() method of TagData.
        Result :    The contents should be printed.
        **/  
  -%>    
  -
  +%>
   <%
        java.util.Hashtable ht = new java.util.Hashtable();
        ht.put("Color1","red");
  @@ -18,13 +17,12 @@
        ht.put("Color3","yellow");
        ht.put("Color4","orange");
   
  -     javax.servlet.jsp.tagext.TagData td =
  -          new javax.servlet.jsp.tagext.TagData(ht);
  +     javax.servlet.jsp.tagext.TagData td = new javax.servlet.jsp.tagext.TagData(ht);
   
        for(int i=1;i<=4;i++) {
                out.println("Colors are  " + td.getAttribute("Color"+i));
   
  -%> 
  +%>
   <br> <% }
   %>
   
  
  
  
  1.3       +3 -4      
jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagData/positiveTagGetAttributeString.jsp
  
  Index: positiveTagGetAttributeString.jsp
  ===================================================================
  RCS file: 
/home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagData/positiveTagGetAttributeString.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- positiveTagGetAttributeString.jsp 23 Jul 2001 21:51:47 -0000      1.2
  +++ positiveTagGetAttributeString.jsp 29 Jan 2002 00:06:34 -0000      1.3
  @@ -9,12 +9,11 @@
                      Check using the getAttributeString() .
        Result :     Should print the contents that are set.
        **/  
  -%>   
  +%>
   <%
   
        java.util.Hashtable ht = new java.util.Hashtable();
  -     javax.servlet.jsp.tagext.TagData td =
  -          new javax.servlet.jsp.tagext.TagData(ht);
  +     javax.servlet.jsp.tagext.TagData td = new javax.servlet.jsp.tagext.TagData(ht);
        
        td.setAttribute("Color1","red");
        td.setAttribute("Color2","green");
  @@ -24,7 +23,7 @@
        for(int i=1;i<=4;i++) {
                out.println("Colors are  " + td.getAttributeString("Color"+i));
   
  -%> 
  +%>
   <br> <% }
   %>
   
  
  
  
  1.3       +4 -5      
jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagData/positiveTagSetAttribute.jsp
  
  Index: positiveTagSetAttribute.jsp
  ===================================================================
  RCS file: 
/home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagData/positiveTagSetAttribute.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- positiveTagSetAttribute.jsp       23 Jul 2001 21:51:47 -0000      1.2
  +++ positiveTagSetAttribute.jsp       29 Jan 2002 00:06:34 -0000      1.3
  @@ -6,16 +6,15 @@
        Name : positiveTagSetAttribute
        Description : Create a TagData object by passing a hashtable
                      created using the setAttribute() method of
  -                   TagData.Call the getAttribute() method and print 
  +                   TagData.  Call the getAttribute() method and print 
                      the contents.
        Result :      The contents set should be printed.
        **/  
  -%>   
  +%>
   <%
   
        java.util.Hashtable ht = new java.util.Hashtable();
  -     javax.servlet.jsp.tagext.TagData td =
  -          new javax.servlet.jsp.tagext.TagData(ht);
  +     javax.servlet.jsp.tagext.TagData td = new javax.servlet.jsp.tagext.TagData(ht);
        
        td.setAttribute("Color1","red");
        td.setAttribute("Color2","green");
  @@ -25,7 +24,7 @@
        for(int i=1;i<=4;i++) {
                out.println("Colors are  " + td.getAttribute("Color"+i));
   
  -%> 
  +%>
   <br> <% }
   %>
   </body>
  
  
  

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

Reply via email to