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/core_syntax/directives/page/session negativeSession.jsp positiveSession.jsp positiveSessionDefault.jsp
Date Wed, 04 Oct 2000 00:07:27 GMT
santosh     00/10/03 17:07:27

  Added:       src/server/jsp-tests/jsp/core_syntax/directives/page/session
                        negativeSession.jsp positiveSession.jsp
                        positiveSessionDefault.jsp
  Log:
  watchdog 4.0
  
  Revision  Changes    Path
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/directives/page/session/negativeSession.jsp
  
  Index: negativeSession.jsp
  ===================================================================
  <html>
  <title>negativeSession</title>
  <body>
  <% /**	Name: negativeSession
  		Description: Set the value of the session attribute to "false".
  			  Then try to invoke a method on the implicit session object.
  		Result:Fatal translation error
  **/ %>		
  <!--- testing with session directive as false -it should not compile--->
  <%@ page session="false" %>
  <% out.println("got "+session.isNew()); %>
  </body>
  </html>
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/directives/page/session/positiveSession.jsp
  
  Index: positiveSession.jsp
  ===================================================================
  <html>
  <title>positiveSession</title>
  <body>
  <% /**	Name : positiveSession
  		Description:Set the value of the session attribute to "true".
  			   Then try to access the implicit session object and 
  			   call one of its methods
  		Result: Returns the output of the method invoked on the 
  				session object
  **/ %>		
  <!--- testing if implicit session object works --->
  <%@ page session="true" %>
  <% out.println("got "+session.isNew()); %>
  </body>
  </html>
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/directives/page/session/positiveSessionDefault.jsp
  
  Index: positiveSessionDefault.jsp
  ===================================================================
  <html>
  <title>positiveSessionDefault</title>
  <body>
  <% /**	Name : positiveSessionDefault
  		Description:Do not set the value of the session at all.
  			    Try to invoke a method on the implicit session
  			    object.
  		Result: Returns the output of the method invoked on the session 
  				object.
  **/ %>		
  <!--- testing if implicit session is available by default  --->
  <% out.println("got "+session.isNew()); %>
  </body>
  </html>
  
  

Mime
View raw message