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/tagext/misc request_time_attributes.jsp
Date Sat, 18 Nov 2000 00:46:40 GMT
santosh     00/11/17 16:46:40

  Added:       src/server/jsp-tests/jsp/tagext/misc
                        request_time_attributes.jsp
  Log:
  test to check the order of evaluation for request time attributes
  
  Revision  Changes    Path
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/misc/request_time_attributes.jsp
  
  Index: request_time_attributes.jsp
  ===================================================================
  <html>
  
  <title>Request time attributes evaluation</title>
  <body>
  <% /**	Name:request_time_attributes
  		Description: This tests the order of evaluation of 
                  request time attributes in actions. The order of evaluation
  	        is from left to right.
  		
  		Result:  Should calculate the expressions from left to right
   			 and return the correct values
  		
  **/ %>			 			 
  
  <%! int i=10; %>
  <%@ taglib  uri="/Testlib.tld"  prefix="request" %>
  <request:ReqTime attr1="<%= i %>" />
  <request:ReqTime attr1='<%= i++ %>' />
  <request:ReqTime attr1="<%= i++ %>" attr2="<%= i++ %>"  />
  <request:ReqTime attr1="<%= ++i %>" attr2="<%= ++i %>" attr3="<%= ++i
%>"  />
  <request:ReqTime attr1="<%= --i %>" attr2="<%= --i %>" attr3="<%= --i
%>"  />
  
  </body>
  </html>
   
  
  
  

Mime
View raw message