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 Sun, 14 Jul 2002 13:07:43 GMT
dion        2002/07/14 06:07:43

  Modified:    latka/src/jelly latka.jelly
  Log:
  - support for requests outside sessions.
  - Sessions are required for proxy support
  
  Revision  Changes    Path
  1.19      +7 -1      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.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- latka.jelly	14 Jul 2002 12:39:13 -0000	1.18
  +++ latka.jelly	14 Jul 2002 13:07:42 -0000	1.19
  @@ -61,7 +61,7 @@
           <!-- test a 404 -->
           <get var="badurl" uri="http://www.multitask.com.au/snafu.html"/>
           http return code = ${badurl.statusCode}
  -        <v:statuscode var="badurl">not ok badurl</v:statuscode>
  +        <v:statuscode var="badurl">badurl is not ok (expected)</v:statuscode>
           <v:statuscode var="badurl" value="404">whoops, expecting a 404</v:statuscode>
           bad response time = ${badurl.responseTime} in msec
   Tests for Post tag
  @@ -161,4 +161,10 @@
           
       </session>
    
  +    <get var="nosessionBad" uri="http://www.multitask.com.au/snafu.html"/>
  +    <v:statuscode var="nosessionBad" value="404">woops</v:statuscode>
  +    outside session get - ${nosessionBad.statusText}
  +    <get var="nosessionGood" uri="http://www.multitask.com.au/"/>
  +    outside session get good - ${nosessionGood.statusText}
  +    
   </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