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/scripting/declaration negativeDeclarationSyn.jsp positiveDeclaration.jsp
Date Wed, 04 Oct 2000 00:11:50 GMT
santosh     00/10/03 17:11:50

  Added:       src/server/jsp-tests/jsp/core_syntax/scripting/declaration
                        negativeDeclarationSyn.jsp positiveDeclaration.jsp
  Log:
  watchdog 4.0
  
  Revision  Changes    Path
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/scripting/declaration/negativeDeclarationSyn.jsp
  
  Index: negativeDeclarationSyn.jsp
  ===================================================================
  <html>
  <title>negativeDeclarationSyn </title>
  <body>
  <% /**  Name:negativeDeclarationSyn
  		Description:Create a JSP page which has a syntax 
  	   			error in the declaration statement .try to use 
  	    		the declared variable in the rest of the page
  		Result:Fatal Translation Error (Undefined)
  **/ %>  	 	
  <!-- error syntax is used in the declaration statement -->
  <%! int i=627; > 
  <% out.println(i); %>
  </body>
  </html>
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/scripting/declaration/positiveDeclaration.jsp
  
  Index: positiveDeclaration.jsp
  ===================================================================
  <html>
  <title>positiveDeclaration</title>
  <body>
  <% /**	Name : positiveDeclaration
  		Description: Create a JSP page with a valid Java 
  			declaration element. Use the declared variable 
  			in the page in a scriptlet.   
  		Result: No error  
   **/ %>		        
  <!-- correct syntax is used in the declaration statement -->
  <%! int i=627; %>
  <% out.println(i); %>
  </body>
  </html>
  
  

Mime
View raw message