You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by pr...@apache.org on 2003/09/04 03:10:51 UTC

cvs commit: jakarta-commons/jelly/jelly-tags/http/src/java/org/apache/commons/jelly/tags/http HttpTagSupport.java

proyal      2003/09/03 18:10:51

  Modified:    jelly/jelly-tags/http/src/java/org/apache/commons/jelly/tags/http
                        HttpTagSupport.java
  Log:
  [JELLY-79] Work correctly with latest version of HTTPClient
  
  Patch from Sean Ferguson
  
  Revision  Changes    Path
  1.5       +2 -2      jakarta-commons/jelly/jelly-tags/http/src/java/org/apache/commons/jelly/tags/http/HttpTagSupport.java
  
  Index: HttpTagSupport.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/http/src/java/org/apache/commons/jelly/tags/http/HttpTagSupport.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- HttpTagSupport.java	26 Jan 2003 04:04:36 -0000	1.4
  +++ HttpTagSupport.java	4 Sep 2003 01:10:51 -0000	1.5
  @@ -100,7 +100,7 @@
       private String _uri;
       
       /** whether or not to follow redirects */ 
  -    private boolean _followRedirects = true;
  +    private boolean _followRedirects = false;
       /** list of parameters as name value pairs */
       private List _parameters;
       /** list of headers as name value pairs */
  @@ -150,7 +150,7 @@
        * execute it and make it available for validation
        *
        * @param xmlOutput where to send output
  -     * @throws Exception when an error occurs
  +     * @throws JellyTagException when an error occurs
        */
       public void doTag(XMLOutput xmlOutput) throws JellyTagException {
           // allow nested tags first, e.g body