jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gl...@locus.apache.org
Subject cvs commit: jakarta-taglibs/request/src/org/apache/taglibs/request RequestData.java
Date Mon, 04 Dec 2000 01:22:10 GMT
glenn       00/12/03 17:22:10

  Modified:    request/src/org/apache/taglibs/request RequestData.java
  Log:
  Added requestURL property to request tag
  
  Revision  Changes    Path
  1.2       +16 -3     jakarta-taglibs/request/src/org/apache/taglibs/request/RequestData.java
  
  Index: RequestData.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/request/src/org/apache/taglibs/request/RequestData.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RequestData.java	2000/11/03 12:54:33	1.1
  +++ RequestData.java	2000/12/04 01:22:09	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/request/src/org/apache/taglibs/request/RequestData.java,v
1.1 2000/11/03 12:54:33 glenn Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/11/03 12:54:33 $
  + * $Header: /home/cvs/jakarta-taglibs/request/src/org/apache/taglibs/request/RequestData.java,v
1.2 2000/12/04 01:22:09 glenn Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/12/04 01:22:09 $
    *
    * ====================================================================
    *
  @@ -202,6 +202,19 @@
       public final String getRequestURI()
       {
   	return req.getRequestURI();
  +    }
  +
  +    /** 
  +     * Returns the request URL up
  +     * to the query string in the first line of the HTTP request.
  +     * <p>
  +     * &lt;jsp:getProperty name=<i>"id"</i> property="requestURL"/&gt;
 
  +     * 
  +     * @return String - request URL
  +     */
  +    public final String getRequestURL()
  +    {
  +        return "" + HttpUtils.getRequestURL(req);
       }
   
       /**
  
  
  

Mime
View raw message