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 sa...@locus.apache.org on 2000/10/19 02:23:58 UTC

cvs commit: jakarta-watchdog-4.0/src/server/jsp-tests/jsp/misc/precompilation precompile.jsp

santosh     00/10/18 17:23:57

  Added:       src/server/jsp-tests/jsp/misc/precompilation precompile.jsp
  Log:
  test for precopilation feature in jsp 1.2
  
  Revision  Changes    Path
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/misc/precompilation/precompile.jsp
  
  Index: precompile.jsp
  ===================================================================
  <html>
  <title>Precompilation Test</title>
  <body>
  <%  /**  Name:Precompilation 
           Description: Checks if the request is actually delivered
                        to this page or not if the request
                        parameter jsp_precompile is either not set
  	              or set to "true" .
                
           Result: Will send the message "Got The request"  
                   if the jsp_precompile="false"
                   
                  
  **/ %>
  
  got The request....The test parameter is
  <%! String test; %>
  
  <%
    test=request.getParameter("test"); 
    if(test==null) //just to remove the dependency on Java 
    test="null" ;
  %>
  <%= test %>
  
  </body>
  </html>