cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/processor/xsp/library XSPRequestLibrary.java
Date Thu, 06 Jan 2000 17:56:24 GMT
stefano     00/01/06 09:56:24

  Modified:    src/org/apache/cocoon/processor/xsp/library
                        XSPRequestLibrary.java
  Log:
  missed getServerName()
  
  Revision  Changes    Path
  1.3       +6 -0      xml-cocoon/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java
  
  Index: XSPRequestLibrary.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XSPRequestLibrary.java	2000/01/05 19:38:06	1.2
  +++ XSPRequestLibrary.java	2000/01/06 17:56:23	1.3
  @@ -290,6 +290,12 @@
       return element;
     }
   
  +  public Element getServerName(HttpServletRequest request, Document document) {
  +    Element element = document.createElement("request:server-name");
  +    element.appendChild(document.createTextNode(String.valueOf(request.getServerName())));
  +    return element;
  +  }
  +
     public Element getServerPort(HttpServletRequest request, Document document) {
       Element element = document.createElement("request:server-port");
       element.appendChild(document.createTextNode(String.valueOf(request.getServerPort())));
  
  
  

Mime
View raw message