cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gree...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/processor/xsp/library XSPResponseLibrary.java
Date Wed, 13 Sep 2000 23:11:30 GMT
greenrd     00/09/13 16:11:30

  Modified:    src/org/apache/cocoon/processor/xsp/library/java
                        response.xsl
               src/org/apache/cocoon/processor/xsp/library
                        XSPResponseLibrary.java
  Log:
  Made compatible with Servlet 2.0 API
  
  Revision  Changes    Path
  1.9       +3 -3      xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/response.xsl
  
  Index: response.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/response.xsl,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- response.xsl	2000/03/01 16:13:49	1.8
  +++ response.xsl	2000/09/13 23:11:29	1.9
  @@ -309,15 +309,15 @@
       <xsp:expr>
         <xsl:choose>
           <xsl:when test="$as = 'node'">
  -          XSPResponseLibrary.encodeRedirectURL(
  +          XSPResponseLibrary.encodeRedirectUrl(
               response,
               String.valueOf(<xsl:copy-of select="$url"/>),
               document
             )
           </xsl:when>
           <xsl:when test="$as = 'string'">
  -          response.encodeRedirectURL(
  -            String.valueOf(<xsl:copy-of select="$url"/>),
  +          response.encodeRedirectUrl(
  +            String.valueOf(<xsl:copy-of select="$url"/>)
             )
           </xsl:when>
         </xsl:choose>
  
  
  
  1.5       +2 -2      xml-cocoon/src/org/apache/cocoon/processor/xsp/library/XSPResponseLibrary.java
  
  Index: XSPResponseLibrary.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/XSPResponseLibrary.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XSPResponseLibrary.java	2000/02/13 18:29:38	1.4
  +++ XSPResponseLibrary.java	2000/09/13 23:11:30	1.5
  @@ -121,13 +121,13 @@
   
     public static Element encodeRedirectURL(HttpServletResponse response, String url, Document
document) {
       Element element = document.createElement("response:encode-redirect-url");
  -    element.appendChild(document.createTextNode(response.encodeRedirectURL(url)));
  +    element.appendChild(document.createTextNode(response.encodeRedirectUrl(url)));
       return element;
     }
   
     public static Element encodeURL(HttpServletResponse response, String url, Document document)
{
       Element element = document.createElement("response:encode-url");
  -    element.appendChild(document.createTextNode(response.encodeURL(url)));
  +    element.appendChild(document.createTextNode(response.encodeUrl(url)));
       return element;
     }
   
  
  
  

Mime
View raw message