jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rlu...@apache.org
Subject cvs commit: jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/implicitobjects checkResponse.jsp
Date Thu, 18 Jul 2002 12:32:02 GMT
rlubke      2002/07/18 05:32:02

  Modified:    src/server/jsp-tests/jsp/core_syntax/implicitobjects
                        checkResponse.jsp
  Log:
   - modified checkResponse.jsp to call response.addHeader() vs.
     response.getCharacterEncoding().
  
  Revision  Changes    Path
  1.3       +7 -11     jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/implicitobjects/checkResponse.jsp
  
  Index: checkResponse.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/implicitobjects/checkResponse.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- checkResponse.jsp	28 Jan 2002 23:56:42 -0000	1.2
  +++ checkResponse.jsp	18 Jul 2002 12:32:02 -0000	1.3
  @@ -1,20 +1,16 @@
   <html>
   <title>checkResponse</title>
   <body>
  -<% /**	Name:checkResponse
  -		Description: Checks whether response is an object
  -			 of type javax.servlet.ServletResponse.The other part 
  -			 verifes that the expected value is returned from
  -			 response.getCharacterEncoding().
  -		Result: returns true
  +<% /**  Name:checkResponse
  +        Description: Checks whether response is an object
  +             of type javax.servlet.ServletResponse. Then verify
  +             that a method can be called against the response object.
   **/ %>
   <!-- checking for response object type -->
   <%= (response instanceof javax.servlet.ServletResponse) %><br>
  -<% 
  -   if(response.getCharacterEncoding().equals( "ISO-8859-1" ) ) {
  -%>true<br><% }
  -   else {
  -%>false<br><% } %>
  +<%
  +    response.addHeader("TestHeader", "Method call OK");
  +%>
   
   </body>
   </html>
  
  
  

--
To unsubscribe, e-mail:   <mailto:watchdog-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:watchdog-dev-help@jakarta.apache.org>


Mime
View raw message