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/01/29 01:02:58 UTC

cvs commit: jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext checkGetException.jsp checkGetOut.jsp checkGetRequest.jsp checkGetResponse.jsp checkGetServletConfig.jsp checkGetServletContext.jsp checkGetSession.jsp forGetException.jsp positiveGetAttributeAvbl.jsp positiveGetAttributeNamesInScope.jsp positiveGetAttributeNotAvbl.jsp positiveRemoveAttribute.jsp positiveSetAttribute.jsp

rlubke      02/01/28 16:02:58

  Modified:    src/server/jsp-tests/jsp/engine/PageContext
                        checkGetException.jsp checkGetOut.jsp
                        checkGetRequest.jsp checkGetResponse.jsp
                        checkGetServletConfig.jsp
                        checkGetServletContext.jsp checkGetSession.jsp
                        forGetException.jsp positiveGetAttributeAvbl.jsp
                        positiveGetAttributeNamesInScope.jsp
                        positiveGetAttributeNotAvbl.jsp
                        positiveRemoveAttribute.jsp
                        positiveSetAttribute.jsp
  Log:
   - content push from CTS
  
  Revision  Changes    Path
  1.2       +2 -0      jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/checkGetException.jsp
  
  Index: checkGetException.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/checkGetException.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- checkGetException.jsp	4 Oct 2000 00:21:30 -0000	1.1
  +++ checkGetException.jsp	29 Jan 2002 00:02:58 -0000	1.2
  @@ -1,3 +1,4 @@
  +<%@ page isErrorPage="true" %>
   <html>
   <title>checkGetException</title>
   <body>
  @@ -11,6 +12,7 @@
   <!-- checking for getException method -->
   
   <%= (pageContext.getException()) instanceof java.lang.Exception %>
  +<%= ( exception == pageContext.getException() ) %>
   
   </body>
   </html>
  
  
  
  1.2       +1 -0      jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/checkGetOut.jsp
  
  Index: checkGetOut.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/checkGetOut.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- checkGetOut.jsp	4 Oct 2000 00:21:30 -0000	1.1
  +++ checkGetOut.jsp	29 Jan 2002 00:02:58 -0000	1.2
  @@ -9,6 +9,7 @@
   <!-- checking for getOut method -->
   
   <%= (pageContext.getOut()) instanceof javax.servlet.jsp.JspWriter %>
  +<%= ( out == pageContext.getOut() ) %>
   
   
   
  
  
  
  1.2       +1 -0      jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/checkGetRequest.jsp
  
  Index: checkGetRequest.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/checkGetRequest.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- checkGetRequest.jsp	4 Oct 2000 00:21:30 -0000	1.1
  +++ checkGetRequest.jsp	29 Jan 2002 00:02:58 -0000	1.2
  @@ -11,6 +11,7 @@
   
   
   <%= pageContext.getRequest() instanceof javax.servlet.ServletRequest %>
  +<%= ( request == pageContext.getRequest() ) %>
   
   
   </body>
  
  
  
  1.2       +1 -0      jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/checkGetResponse.jsp
  
  Index: checkGetResponse.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/checkGetResponse.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- checkGetResponse.jsp	4 Oct 2000 00:21:30 -0000	1.1
  +++ checkGetResponse.jsp	29 Jan 2002 00:02:58 -0000	1.2
  @@ -9,6 +9,7 @@
   <!-- checking for getResponse method -->
   
   <%= (pageContext.getResponse()) instanceof javax.servlet.ServletResponse %>
  +<%= ( response == pageContext.getResponse() ) %>
   
   </body>
   </html>
  
  
  
  1.2       +1 -0      jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/checkGetServletConfig.jsp
  
  Index: checkGetServletConfig.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/checkGetServletConfig.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- checkGetServletConfig.jsp	4 Oct 2000 00:21:30 -0000	1.1
  +++ checkGetServletConfig.jsp	29 Jan 2002 00:02:58 -0000	1.2
  @@ -9,6 +9,7 @@
   <!-- checking for getServletConfig method -->
   
   <%= (pageContext.getServletConfig()) instanceof javax.servlet.ServletConfig %>
  +<%= ( config == pageContext.getServletConfig() ) %>
   
   </body>
   </html>
  
  
  
  1.2       +1 -0      jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/checkGetServletContext.jsp
  
  Index: checkGetServletContext.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/checkGetServletContext.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- checkGetServletContext.jsp	4 Oct 2000 00:21:30 -0000	1.1
  +++ checkGetServletContext.jsp	29 Jan 2002 00:02:58 -0000	1.2
  @@ -9,6 +9,7 @@
   <!-- checking for getServletContext method -->
   
   <%= (pageContext.getServletContext()) instanceof javax.servlet.ServletContext %>
  +<%= ( application == pageContext.getServletContext() ) %>
   
   </body>
   </html>
  
  
  
  1.2       +1 -0      jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/checkGetSession.jsp
  
  Index: checkGetSession.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/checkGetSession.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- checkGetSession.jsp	4 Oct 2000 00:21:30 -0000	1.1
  +++ checkGetSession.jsp	29 Jan 2002 00:02:58 -0000	1.2
  @@ -9,6 +9,7 @@
   <!-- checking for getSession method -->
   
   <%=(pageContext.getSession()) instanceof javax.servlet.http.HttpSession %>
  +<%= ( session == pageContext.getSession() ) %>
   
   </body>
   </html>
  
  
  
  1.2       +3 -4      jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/forGetException.jsp
  
  Index: forGetException.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/forGetException.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- forGetException.jsp	4 Oct 2000 00:21:30 -0000	1.1
  +++ forGetException.jsp	29 Jan 2002 00:02:58 -0000	1.2
  @@ -3,9 +3,9 @@
   <body>
   <%
   /**
  - Name : checkGetException
  + Name : forGetException
    Description : An exception is generated and the output is sent to an errorpage
  - where the check for the getException() method is done.Here, it is checked for 
  + where the check for the getException() method is done.  Here, it is checked for 
    the return type.
    Result : true
   **/
  @@ -15,8 +15,7 @@
   int i=2;
   int j=0;
   int k=i/j;
  -
   out.println(k);
   %>
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +1 -0      jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/positiveGetAttributeAvbl.jsp
  
  Index: positiveGetAttributeAvbl.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/positiveGetAttributeAvbl.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveGetAttributeAvbl.jsp	4 Oct 2000 00:21:30 -0000	1.1
  +++ positiveGetAttributeAvbl.jsp	29 Jan 2002 00:02:58 -0000	1.2
  @@ -20,3 +20,4 @@
   %>
   </body>
   </html>
  +
  
  
  
  1.2       +2 -1      jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/positiveGetAttributeNamesInScope.jsp
  
  Index: positiveGetAttributeNamesInScope.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/positiveGetAttributeNamesInScope.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveGetAttributeNamesInScope.jsp	4 Oct 2000 00:21:30 -0000	1.1
  +++ positiveGetAttributeNamesInScope.jsp	29 Jan 2002 00:02:58 -0000	1.2
  @@ -5,7 +5,7 @@
   /*
    Name : positiveGetAttributeNamesInScope
     */
  -%>  
  +%>
   
   
   <!-- declaring a bean in page scope -->
  @@ -52,3 +52,4 @@
   
   </body>
   </html>
  +
  
  
  
  1.2       +1 -0      jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/positiveGetAttributeNotAvbl.jsp
  
  Index: positiveGetAttributeNotAvbl.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/positiveGetAttributeNotAvbl.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveGetAttributeNotAvbl.jsp	4 Oct 2000 00:21:30 -0000	1.1
  +++ positiveGetAttributeNotAvbl.jsp	29 Jan 2002 00:02:58 -0000	1.2
  @@ -17,3 +17,4 @@
   %>
   </body>
   </html>
  +
  
  
  
  1.2       +2 -1      jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/positiveRemoveAttribute.jsp
  
  Index: positiveRemoveAttribute.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/positiveRemoveAttribute.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveRemoveAttribute.jsp	4 Oct 2000 00:21:30 -0000	1.1
  +++ positiveRemoveAttribute.jsp	29 Jan 2002 00:02:58 -0000	1.2
  @@ -18,4 +18,5 @@
   <% out.println(pageContext.getAttribute("Country")); %>
   
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  +
  
  
  
  1.2       +2 -1      jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/positiveSetAttribute.jsp
  
  Index: positiveSetAttribute.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/PageContext/positiveSetAttribute.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveSetAttribute.jsp	4 Oct 2000 00:21:30 -0000	1.1
  +++ positiveSetAttribute.jsp	29 Jan 2002 00:02:58 -0000	1.2
  @@ -14,4 +14,5 @@
   <% out.println(pageContext.getAttribute("Country")); %>
   
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  +
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>