struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@apache.org
Subject cvs commit: jakarta-struts/src/example/org/apache/struts/example CheckLogonTag.java LinkSubscriptionTag.java LinkUserTag.java
Date Fri, 02 Feb 2001 02:26:07 GMT
craigmcc    01/02/01 18:26:07

  Modified:    .        build.bat build.sh
               src/example/org/apache/struts/example CheckLogonTag.java
                        LinkSubscriptionTag.java LinkUserTag.java
  Log:
  Add release() methods to the application-specific tags.
  
  Submitted by:	Kare Nourteva <kare.nourteva@satama.com>
  
  Revision  Changes    Path
  1.10      +2 -2      jakarta-struts/build.bat
  
  Index: build.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/build.bat,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- build.bat	2000/11/24 14:53:58	1.9
  +++ build.bat	2001/02/02 02:26:05	1.10
  @@ -21,7 +21,7 @@
   rem   TOMCAT_HOME           Build directory for "jakarta-tomcat".
   rem                         [../build/tomcat]
   rem
  -rem $Id: build.bat,v 1.9 2000/11/24 14:53:58 pierred Exp $
  +rem $Id: build.bat,v 1.10 2001/02/02 02:26:05 craigmcc Exp $
   rem ---------------------------------------------------------------------------
   
   
  @@ -46,7 +46,7 @@
   :gotAntHome
   
   if not "%CATALINA_HOME%" == "" goto gotCatalinaHome
  -set CATALINA_HOME=..\build\tomcat-4.0
  +set CATALINA_HOME=..\jakarta-tomcat-4.0\build
   :gotCatalinaHome
   
   if not "%SERVLETAPI_HOME%" == "" goto gotServletapiHome
  
  
  
  1.5       +2 -2      jakarta-struts/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/build.sh,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.sh	2000/11/19 01:39:52	1.4
  +++ build.sh	2001/02/02 02:26:05	1.5
  @@ -21,7 +21,7 @@
   #   TOMCAT_HOME           Build directory for "jakarta-tomcat".
   #                         [../build/tomcat]
   #
  -# $Id: build.sh,v 1.4 2000/11/19 01:39:52 craigmcc Exp $
  +# $Id: build.sh,v 1.5 2001/02/02 02:26:05 craigmcc Exp $
   # -----------------------------------------------------------------------------
   
   
  @@ -36,7 +36,7 @@
   fi
   
   if [ "$CATALINA_HOME" = "" ] ; then
  -  CATALINA_HOME=../build/tomcat-4.0
  +  CATALINA_HOME=../jakarta-tomcat-4.0/build
   fi
   
   if [ "$JAVA_HOME" = "" ] ; then
  
  
  
  1.5       +16 -4     jakarta-struts/src/example/org/apache/struts/example/CheckLogonTag.java
  
  Index: CheckLogonTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/example/org/apache/struts/example/CheckLogonTag.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- CheckLogonTag.java	2000/08/01 20:03:22	1.4
  +++ CheckLogonTag.java	2001/02/02 02:26:06	1.5
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/example/org/apache/struts/example/CheckLogonTag.java,v
1.4 2000/08/01 20:03:22 craigmcc Exp $
  - * $Revision: 1.4 $
  - * $Date: 2000/08/01 20:03:22 $
  + * $Header: /home/cvs/jakarta-struts/src/example/org/apache/struts/example/CheckLogonTag.java,v
1.5 2001/02/02 02:26:06 craigmcc Exp $
  + * $Revision: 1.5 $
  + * $Date: 2001/02/02 02:26:06 $
    *
    * ====================================================================
    *
  @@ -80,7 +80,7 @@
    *
    * @author Craig R. McClanahan
    * @author Marius Barduta
  - * @version $Revision: 1.4 $ $Date: 2000/08/01 20:03:22 $
  + * @version $Revision: 1.5 $ $Date: 2001/02/02 02:26:06 $
    */
   
   public final class CheckLogonTag extends TagSupport {
  @@ -189,6 +189,18 @@
   	    }
   	    return (SKIP_PAGE);
   	}
  +
  +    }
  +
  +
  +    /**
  +     * Release any acquired resources.
  +     */
  +    public void release() {
  +
  +        super.release();
  +        this.name = Constants.USER_KEY;
  +        this.page = "/logon.jsp";
   
       }
   
  
  
  
  1.4       +16 -4     jakarta-struts/src/example/org/apache/struts/example/LinkSubscriptionTag.java
  
  Index: LinkSubscriptionTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/example/org/apache/struts/example/LinkSubscriptionTag.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- LinkSubscriptionTag.java	2000/11/18 22:11:56	1.3
  +++ LinkSubscriptionTag.java	2001/02/02 02:26:06	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/example/org/apache/struts/example/LinkSubscriptionTag.java,v
1.3 2000/11/18 22:11:56 craigmcc Exp $
  - * $Revision: 1.3 $
  - * $Date: 2000/11/18 22:11:56 $
  + * $Header: /home/cvs/jakarta-struts/src/example/org/apache/struts/example/LinkSubscriptionTag.java,v
1.4 2001/02/02 02:26:06 craigmcc Exp $
  + * $Revision: 1.4 $
  + * $Date: 2001/02/02 02:26:06 $
    *
    * ====================================================================
    *
  @@ -79,7 +79,7 @@
    * associated query parameters selecting a specified Subscription.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.3 $ $Date: 2000/11/18 22:11:56 $
  + * @version $Revision: 1.4 $ $Date: 2001/02/02 02:26:06 $
    */
   
   public class LinkSubscriptionTag extends TagSupport {
  @@ -229,6 +229,18 @@
   	}
   
   	return (EVAL_PAGE);
  +
  +    }
  +
  +
  +    /**
  +     * Release any acquired resources.
  +     */
  +    public void release() {
  +
  +        super.release();
  +        this.page = null;
  +        this.name = "subscription";
   
       }
   
  
  
  
  1.4       +16 -4     jakarta-struts/src/example/org/apache/struts/example/LinkUserTag.java
  
  Index: LinkUserTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/example/org/apache/struts/example/LinkUserTag.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- LinkUserTag.java	2000/11/18 22:11:56	1.3
  +++ LinkUserTag.java	2001/02/02 02:26:06	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/example/org/apache/struts/example/LinkUserTag.java,v
1.3 2000/11/18 22:11:56 craigmcc Exp $
  - * $Revision: 1.3 $
  - * $Date: 2000/11/18 22:11:56 $
  + * $Header: /home/cvs/jakarta-struts/src/example/org/apache/struts/example/LinkUserTag.java,v
1.4 2001/02/02 02:26:06 craigmcc Exp $
  + * $Revision: 1.4 $
  + * $Date: 2001/02/02 02:26:06 $
    *
    * ====================================================================
    *
  @@ -79,7 +79,7 @@
    * associated query parameters selecting a specified User.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.3 $ $Date: 2000/11/18 22:11:56 $
  + * @version $Revision: 1.4 $ $Date: 2001/02/02 02:26:06 $
    */
   
   public class LinkUserTag extends TagSupport {
  @@ -227,6 +227,18 @@
   	}
   
   	return (EVAL_PAGE);
  +
  +    }
  +
  +
  +    /**
  +     * Release any acquired resources.
  +     */
  +    public void release() {
  +
  +        super.release();
  +        this.page = null;
  +        this.name = "user";
   
       }
   
  
  
  

Mime
View raw message