jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sant...@locus.apache.org
Subject cvs commit: jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/BodyContent positiveGetEnclosingWriter.jsp positiveGetReader.jsp positiveGetString.jsp
Date Wed, 04 Oct 2000 00:23:24 GMT
santosh     00/10/03 17:23:23

  Added:       src/server/jsp-tests/jsp/tagext/BodyContent
                        positiveGetEnclosingWriter.jsp
                        positiveGetReader.jsp positiveGetString.jsp
  Log:
  watchdog 4.0
  
  Revision  Changes    Path
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/BodyContent/positiveGetEnclosingWriter.jsp
  
  Index: positiveGetEnclosingWriter.jsp
  ===================================================================
  <html>
  <title>positiveGetEnclosingWriter</title>
  <body>
  <% 
  	/** 	
  	Name : positiveGetEnclosingWriter
  	Description : Try to get JSPWriter object called by getEnclosingWriter()
  				method.
  	Result : Expected to return JspWriter object. 
  	**/  
  %>	 
  
  
  <!-- Using pageContext.pushBody() to create a BodyContent object -->
  <%	
  	BodyContent bc = pageContext.pushBody();
  %>
  <!-- checking for JspWriter object -->
  <%= (bc.getEnclosingWriter()) instanceof javax.servlet.jsp.JspWriter %>
  
  
  </body>
  </html>
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/BodyContent/positiveGetReader.jsp
  
  Index: positiveGetReader.jsp
  ===================================================================
  <html>
  <title>positiveGetReader</title>
  <body>
  <% 
  	/** 	
  	Name : positiveGetReader
  	Description : Create a BodyContent object and call
  	              the getReader() method. 
  	Result :      Resulting object should be of type
  	             java.io.Reader
  	**/  
  %>	 
  <%	
  	BodyContent bc = pageContext.pushBody();
  	bc.println("Moon");
  %>
  <!-- checking for Reader object -->
  <%= (bc.getReader()) instanceof java.io.Reader %>
  
  </body>
  </html>
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/BodyContent/positiveGetString.jsp
  
  Index: positiveGetString.jsp
  ===================================================================
  <html>
  <title>positiveGetString</title>
  <body>
  <% 
  	/** 	
  	Name : positiveGetString
  	Description : Try to print the contents of BodyContent object 
  				 using getString() method.
  	Result :  Expected to print contents of BodyContent object. 
  	**/  
  %>	 
  
  <%	
  	// using pageContext.pushBody() to create a BodyContent object
  	BodyContent bc = pageContext.pushBody();
  	bc.println("Checking For getString() method");
  	out.println(bc.getString());
  		
  %>
  
  
  
  </body>
  </html>
  
  
  

Mime
View raw message