You are viewing a plain text version of this content. The canonical link for it is here.
Posted to watchdog-dev@jakarta.apache.org by rl...@apache.org on 2002/07/18 14:32:02 UTC
cvs commit: jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/implicitobjects checkResponse.jsp
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>