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/directives/page/session negativeDuplicateSessionFatalTranslationError.jsp negativeSessionFatalTranslationError.jsp
Date Mon, 28 Jan 2002 23:54:27 GMT
rlubke      02/01/28 15:54:27

  Added:       src/server/jsp-tests/jsp/core_syntax/directives/page/session
                        negativeDuplicateSessionFatalTranslationError.jsp
                        negativeSessionFatalTranslationError.jsp
  Log:
   - content push from CTS
  
  Revision  Changes    Path
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/directives/page/session/negativeDuplicateSessionFatalTranslationError.jsp
  
  Index: negativeDuplicateSessionFatalTranslationError.jsp
  ===================================================================
  <html>
  <title>negativeDuplicateSessionFatalTranslationError</title>
  <body>
  <% /** 	Name : negativeDuplicateSessionFatalTranslationError
  	Description : Verify that multiple uses of the session attribute
                    result in a fatal translation error.
  	Result : A fatal translation error.
  **/ %>	 
  <%@ page session="true" session="true" %>
  </body>
  </html>
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/directives/page/session/negativeSessionFatalTranslationError.jsp
  
  Index: negativeSessionFatalTranslationError.jsp
  ===================================================================
  <html>
  <title>negativeSessionFatalTranslationError</title>
  <body>
  <% /**	Name : negativeSessionFatalTranslationError
  		Description:Set the value of the session attribute to "false".
  			        Try to access the implicit session object.
  		Result: A fatal translation error should occur.
  **/ %>		
  <!--- verify that a fatal translation error ocurrs -->
  <%@ page session="false" %>
  <% 
      if ( session == null ) {
          out.println( "Session object shouldn't be available." );
      }
  %>
  </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