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 IsSessionFromURLTag.java
Date Fri, 03 Nov 2000 12:51:08 GMT
glenn       00/11/03 04:51:08

  Modified:    request/src/org/apache/taglibs/request
                        IsSessionFromURLTag.java
  Log:
  Cleanup for release
  
  Revision  Changes    Path
  1.2       +14 -9     jakarta-taglibs/request/src/org/apache/taglibs/request/IsSessionFromURLTag.java
  
  Index: IsSessionFromURLTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/request/src/org/apache/taglibs/request/IsSessionFromURLTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- IsSessionFromURLTag.java	2000/09/21 14:14:36	1.1
  +++ IsSessionFromURLTag.java	2000/11/03 12:51:08	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/request/src/org/apache/taglibs/request/IsSessionFromURLTag.java,v
1.1 2000/09/21 14:14:36 glenn Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/09/21 14:14:36 $
  + * $Header: /home/cvs/jakarta-taglibs/request/src/org/apache/taglibs/request/IsSessionFromURLTag.java,v
1.2 2000/11/03 12:51:08 glenn Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/11/03 12:51:08 $
    *
    * ====================================================================
    *
  @@ -69,9 +69,9 @@
   
   /**
    * JSP Tag <b>issessionfromurl</b>, used to determine if HttpServletRequest
  - * session is from a URL.
  + * session is from URL encoding.
    * <p>
  - * Includes the body of the tag if is from a URL.
  + * Includes the body of the tag if is from URL encoding.
    * <p>
    * You can set the optional tag attribute <b>value</b> to <i>true</i>
or
    * <i>false</i>.  The body of the tag is included if issessionfromurl matches
  @@ -82,7 +82,7 @@
    * &lt;name&gt;issessionfromurl&lt;/name&gt;
    * &lt;tagclass&gt;org.apache.taglibs.request.IsSessionFromURLTag&lt;/tagclass&gt;
    * &lt;bodycontent&gt;JSP&lt;/bodycontent&gt;
  - * &lt;info&gt;Used to test whether the HTTP connection is secure (using HTTPS).&lt;/info&gt;
  + * &lt;info&gt;Test whether the HTTP connection is secure (using HTTPS).&lt;/info&gt;
    *   &lt;attribute&gt;
    *     &lt;name&gt;value&lt;/name&gt;
    *     &lt;required&gt;false&lt;/required&gt;
  @@ -98,11 +98,11 @@
       private Boolean value = null;
   
       /**
  -     * Tests condition of is session from URL
  +     * Determines whether session is from URL encoding
        *
        * @return SKIP_BODY if issessionfromurl doesn't match value, EVAL_BODY_include if
issessionfromurl matches value
        */
  -    public int doStartTag() throws JspException
  +    public final int doStartTag() throws JspException
       {
   	boolean result = ((HttpServletRequest)pageContext.getRequest()).isRequestedSessionIdFromURL();
   	if( value == null ) {
  @@ -115,7 +115,12 @@
   	return SKIP_BODY;
       }
   
  -    public void setValue(String str)
  +    /**
  +     * Set the optional tag attribute <b>value</b> to true or false. 
  +     *
  +     * @param String true or false
  +     */
  +    public final void setValue(String str)
       {
   	value = new Boolean(str);
       }
  
  
  

Mime
View raw message