commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/latka/src/jelly latka.jelly
Date Sat, 06 Jul 2002 16:50:23 GMT
dion        2002/07/06 09:50:23

  Modified:    latka/src/jelly latka.jelly
  Log:
  More testing
  
  Revision  Changes    Path
  1.4       +18 -6     jakarta-commons/latka/src/jelly/latka.jelly
  
  Index: latka.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/latka/src/jelly/latka.jelly,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- latka.jelly	6 Jul 2002 07:39:59 -0000	1.3
  +++ latka.jelly	6 Jul 2002 16:50:23 -0000	1.4
  @@ -1,17 +1,29 @@
   <?xml version="1.0"?>
   <j:jelly
       xmlns:j="jelly:core"
  -    xmlns:latka="jelly:org.apache.commons.latka.jelly.LatkaTagLibrary">
  +    xmlns="jelly:org.apache.commons.latka.jelly.LatkaTagLibrary">
   
  -  <latka:suite>
  -    <latka:session>
  -        <latka:get id="mtc" url="http://www.multitask.com.au/"/>
  +  <suite>
  +    <session>
  +        <get id="mtc" url="http://www.multitask.com.au/"/>
           <j:if test="${mtc.statusCode == 200}">
               request ok
           </j:if>
           Results for mtc url are: http return code = ${mtc.statusCode}
           size of result = ${mtc.responseBodyAsString.length()}
  -    </latka:session>
  -  </latka:suite>
  +        <j:forEach items="${mtc.responseHeaders}" var="header" indexVar="i">
  +            header[${i}] = ${header}
  +        </j:forEach>
  +
  +        <get id="mtc2" url="http://www.multitask.com.au/default.html">
  +            <parameter name="page" value="mt @News"/>
  +            <parameter name="page2" value="junk"/>
  +        </get>
  +        queryString = ${mtc2.queryString}, length = ${mtc2.responseBodyAsString.length()}
  +        
  +        <get id="badurl" url="http://www.multitask.com.au/snafu.html"/>
  +        http return code = ${badurl.statusCode}
  +    </session>
  +  </suite>
     
   </j:jelly>
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message