You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by dg...@apache.org on 2003/04/15 02:18:46 UTC

cvs commit: jakarta-struts/src/share/org/apache/struts/action ActionForward.java ActionFormBeans.java PlugIn.java ActionMappings.java ActionMessage.java ActionForwards.java ActionError.java RequestActionMapping.java ActionErrors.java ActionFormBean.java ExceptionHandler.java RedirectingActionForward.java ActionServletWrapper.java RequestProcessor.java ActionForm.java ForwardingActionForward.java ActionException.java SessionActionMapping.java

dgraham     2003/04/14 17:18:46

  Modified:    src/share/org/apache/struts/action ActionForward.java
                        ActionFormBeans.java PlugIn.java
                        ActionMappings.java ActionMessage.java
                        ActionForwards.java ActionError.java
                        RequestActionMapping.java ActionErrors.java
                        ActionFormBean.java ExceptionHandler.java
                        RedirectingActionForward.java
                        ActionServletWrapper.java RequestProcessor.java
                        ActionForm.java ForwardingActionForward.java
                        ActionException.java SessionActionMapping.java
  Log:
  Documentation changes only.
  
  Revision  Changes    Path
  1.10      +5 -5      jakarta-struts/src/share/org/apache/struts/action/ActionForward.java
  
  Index: ActionForward.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionForward.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ActionForward.java	9 Jul 2002 23:57:05 -0000	1.9
  +++ ActionForward.java	15 Apr 2003 00:18:45 -0000	1.10
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  
  
  
  1.8       +5 -5      jakarta-struts/src/share/org/apache/struts/action/ActionFormBeans.java
  
  Index: ActionFormBeans.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionFormBeans.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ActionFormBeans.java	7 Jan 2003 06:32:25 -0000	1.7
  +++ ActionFormBeans.java	15 Apr 2003 00:18:45 -0000	1.8
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  
  
  
  1.10      +5 -5      jakarta-struts/src/share/org/apache/struts/action/PlugIn.java
  
  Index: PlugIn.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/PlugIn.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- PlugIn.java	19 Dec 2002 16:21:46 -0000	1.9
  +++ PlugIn.java	15 Apr 2003 00:18:45 -0000	1.10
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2002 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  
  
  
  1.12      +5 -5      jakarta-struts/src/share/org/apache/struts/action/ActionMappings.java
  
  Index: ActionMappings.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionMappings.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ActionMappings.java	7 Jan 2003 06:32:25 -0000	1.11
  +++ ActionMappings.java	15 Apr 2003 00:18:45 -0000	1.12
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  
  
  
  1.6       +5 -5      jakarta-struts/src/share/org/apache/struts/action/ActionMessage.java
  
  Index: ActionMessage.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionMessage.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ActionMessage.java	24 Jun 2002 18:53:01 -0000	1.5
  +++ ActionMessage.java	15 Apr 2003 00:18:45 -0000	1.6
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  
  
  
  1.9       +5 -5      jakarta-struts/src/share/org/apache/struts/action/ActionForwards.java
  
  Index: ActionForwards.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionForwards.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- ActionForwards.java	7 Jan 2003 06:32:25 -0000	1.8
  +++ ActionForwards.java	15 Apr 2003 00:18:45 -0000	1.9
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  
  
  
  1.9       +5 -5      jakarta-struts/src/share/org/apache/struts/action/ActionError.java
  
  Index: ActionError.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionError.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- ActionError.java	24 Jun 2002 18:53:01 -0000	1.8
  +++ ActionError.java	15 Apr 2003 00:18:45 -0000	1.9
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  
  
  
  1.5       +5 -5      jakarta-struts/src/share/org/apache/struts/action/RequestActionMapping.java
  
  Index: RequestActionMapping.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/RequestActionMapping.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- RequestActionMapping.java	7 Jan 2003 06:32:25 -0000	1.4
  +++ RequestActionMapping.java	15 Apr 2003 00:18:45 -0000	1.5
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  
  
  
  1.11      +6 -5      jakarta-struts/src/share/org/apache/struts/action/ActionErrors.java
  
  Index: ActionErrors.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionErrors.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ActionErrors.java	7 Jan 2003 06:32:25 -0000	1.10
  +++ ActionErrors.java	15 Apr 2003 00:18:45 -0000	1.11
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -110,6 +110,7 @@
        * messages.
        * 
        * @param messages The messages to be initially added to this object.
  +     * This parameter can be <code>null</code>.
        * @since Struts 1.1
        */
       public ActionErrors(ActionErrors messages) {
  
  
  
  1.8       +5 -5      jakarta-struts/src/share/org/apache/struts/action/ActionFormBean.java
  
  Index: ActionFormBean.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionFormBean.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ActionFormBean.java	10 Jul 2002 20:36:23 -0000	1.7
  +++ ActionFormBean.java	15 Apr 2003 00:18:45 -0000	1.8
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  
  
  
  1.17      +7 -1      jakarta-struts/src/share/org/apache/struts/action/ExceptionHandler.java
  
  Index: ExceptionHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ExceptionHandler.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- ExceptionHandler.java	8 Feb 2003 23:31:29 -0000	1.16
  +++ ExceptionHandler.java	15 Apr 2003 00:18:45 -0000	1.17
  @@ -1,7 +1,13 @@
   /*
  + * $Header$
  + * $Revision$
  + * $Date$
  + *
  + * ====================================================================
  + *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  
  
  
  1.4       +5 -5      jakarta-struts/src/share/org/apache/struts/action/RedirectingActionForward.java
  
  Index: RedirectingActionForward.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/RedirectingActionForward.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- RedirectingActionForward.java	7 Jan 2003 06:32:25 -0000	1.3
  +++ RedirectingActionForward.java	15 Apr 2003 00:18:45 -0000	1.4
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  
  
  
  1.7       +5 -5      jakarta-struts/src/share/org/apache/struts/action/ActionServletWrapper.java
  
  Index: ActionServletWrapper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionServletWrapper.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ActionServletWrapper.java	27 Oct 2002 06:01:48 -0000	1.6
  +++ ActionServletWrapper.java	15 Apr 2003 00:18:45 -0000	1.7
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  
  
  
  1.28      +5 -5      jakarta-struts/src/share/org/apache/struts/action/RequestProcessor.java
  
  Index: RequestProcessor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/RequestProcessor.java,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- RequestProcessor.java	25 Feb 2003 05:14:17 -0000	1.27
  +++ RequestProcessor.java	15 Apr 2003 00:18:45 -0000	1.28
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2002 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  
  
  
  1.14      +5 -5      jakarta-struts/src/share/org/apache/struts/action/ActionForm.java
  
  Index: ActionForm.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionForm.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- ActionForm.java	20 Oct 2002 17:06:57 -0000	1.13
  +++ ActionForm.java	15 Apr 2003 00:18:45 -0000	1.14
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  
  
  
  1.4       +5 -5      jakarta-struts/src/share/org/apache/struts/action/ForwardingActionForward.java
  
  Index: ForwardingActionForward.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ForwardingActionForward.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ForwardingActionForward.java	7 Jan 2003 06:32:25 -0000	1.3
  +++ ForwardingActionForward.java	15 Apr 2003 00:18:45 -0000	1.4
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  
  
  
  1.4       +112 -112  jakarta-struts/src/share/org/apache/struts/action/ActionException.java
  
  Index: ActionException.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionException.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ActionException.java	24 Jun 2002 17:10:35 -0000	1.3
  +++ ActionException.java	15 Apr 2003 00:18:45 -0000	1.4
  @@ -1,112 +1,112 @@
  -/*
  - * $Header$
  - * $Revision$
  - * $Date$
  - *
  - * ====================================================================
  - *
  - * The Apache Software License, Version 1.1
  - *
  - * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
  - * reserved.
  - *
  - * Redistribution and use in source and binary forms, with or without
  - * modification, are permitted provided that the following conditions
  - * are met:
  - *
  - * 1. Redistributions of source code must retain the above copyright
  - *    notice, this list of conditions and the following disclaimer.
  - *
  - * 2. Redistributions in binary form must reproduce the above copyright
  - *    notice, this list of conditions and the following disclaimer in
  - *    the documentation and/or other materials provided with the
  - *    distribution.
  - *
  - * 3. The end-user documentation included with the redistribution, if
  - *    any, must include the following acknowlegement:
  - *       "This product includes software developed by the
  - *        Apache Software Foundation (http://www.apache.org/)."
  - *    Alternately, this acknowlegement may appear in the software itself,
  - *    if and wherever such third-party acknowlegements normally appear.
  - *
  - * 4. The names "The Jakarta Project", "Struts", and "Apache Software
  - *    Foundation" must not be used to endorse or promote products derived
  - *    from this software without prior written permission. For written
  - *    permission, please contact apache@apache.org.
  - *
  - * 5. Products derived from this software may not be called "Apache"
  - *    nor may "Apache" appear in their names without prior written
  - *    permission of the Apache Group.
  - *
  - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  - * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
  - * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  - * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  - * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  - * SUCH DAMAGE.
  - * ====================================================================
  - *
  - * This software consists of voluntary contributions made by many
  - * individuals on behalf of the Apache Software Foundation.  For more
  - * information on the Apache Software Foundation, please see
  - * <http://www.apache.org/>.
  - *
  - */
  -package org.apache.struts.action;
  -
  -
  -import org.apache.struts.config.ExceptionConfig;
  -
  -
  -/**
  - * An <strong>ActionException</strong> represents a potential exception
  - * that may occur during delegation to an Action class.
  - * Instances of this class may be configured in association
  - * with an <code>ActionMapping</code> instance for named lookup of potentially
  - * multiple destinations for a particular mapping instance.
  - * <p>
  - * An <code>ActionException</code> has the following minimal set of properties.
  - * Additional properties can be provided as needed by subclassses.
  - * <ul>
  - * <li><strong>type</strong> - The fully qualified class name of the
  - * exception to be associated to a particular <code>ActionMapping</code>.
  - * <li><strong>key</strong> - (Optional) Message key associated with the particular
  - *     exception.
  - * <li><strong>path</strong> - (Optional) Context releative URI that should
  - *     be redirected to as a result of the exception occuring.  Will overide the
  - *     input form of the associated ActionMapping if one is provided.
  - * <li><strong>scope</strong> - (Optional) The scope to store the exception in
  - *     if a problem should occur - defaults to 'request'.  Valid values are
  - *     'request' and 'session'.
  - * <li><strong>hierarchical</strong> - (Optional) Defines whether or not the
  - *     Exception hierarchy should be used when determining if an occuring
  - *     exception can be assigned to a mapping instance.  Default is true.
  - * <li><strong>handler</strong> - (Optional) The fully qualified class name
  - *     of the handler, which is responsible to handle this exception.
  - *     Default is 'org.apache.struts.action.ExceptionHandler'.
  - * </ul>
  - *
  - * @author ldonlan
  - * @version $Revision$ $Date$
  - *
  - * @since Struts 1.1
  - * @deprecated Replaced by org.apache.struts.config.ExceptionConfig
  - */
  -public class ActionException extends ExceptionConfig {
  -
  -    /**
  -     *Returns an instance of an <b>ActionError</b> configured for
  -     *this exception.
  -     *@return ActionError
  -     */
  -    public ActionError getError() {
  -        return new ActionError(this.key);
  -    }
  -
  -}
  +/*
  + * $Header$
  + * $Revision$
  + * $Date$
  + *
  + * ====================================================================
  + *
  + * The Apache Software License, Version 1.1
  + *
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
  + * reserved.
  + *
  + * Redistribution and use in source and binary forms, with or without
  + * modification, are permitted provided that the following conditions
  + * are met:
  + *
  + * 1. Redistributions of source code must retain the above copyright
  + *    notice, this list of conditions and the following disclaimer.
  + *
  + * 2. Redistributions in binary form must reproduce the above copyright
  + *    notice, this list of conditions and the following disclaimer in
  + *    the documentation and/or other materials provided with the
  + *    distribution.
  + *
  + * 3. The end-user documentation included with the redistribution, if
  + *    any, must include the following acknowlegement:
  + *       "This product includes software developed by the
  + *        Apache Software Foundation (http://www.apache.org/)."
  + *    Alternately, this acknowlegement may appear in the software itself,
  + *    if and wherever such third-party acknowlegements normally appear.
  + *
  + * 4. The names "The Jakarta Project", "Struts", and "Apache Software
  + *    Foundation" must not be used to endorse or promote products derived
  + *    from this software without prior written permission. For written
  + *    permission, please contact apache@apache.org.
  + *
  + * 5. Products derived from this software may not be called "Apache"
  + *    nor may "Apache" appear in their names without prior written
  + *    permission of the Apache Group.
  + *
  + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  + * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
  + * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  + * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  + * SUCH DAMAGE.
  + * ====================================================================
  + *
  + * This software consists of voluntary contributions made by many
  + * individuals on behalf of the Apache Software Foundation.  For more
  + * information on the Apache Software Foundation, please see
  + * <http://www.apache.org/>.
  + *
  + */
  +package org.apache.struts.action;
  +
  +
  +import org.apache.struts.config.ExceptionConfig;
  +
  +
  +/**
  + * An <strong>ActionException</strong> represents a potential exception
  + * that may occur during delegation to an Action class.
  + * Instances of this class may be configured in association
  + * with an <code>ActionMapping</code> instance for named lookup of potentially
  + * multiple destinations for a particular mapping instance.
  + * <p>
  + * An <code>ActionException</code> has the following minimal set of properties.
  + * Additional properties can be provided as needed by subclassses.
  + * <ul>
  + * <li><strong>type</strong> - The fully qualified class name of the
  + * exception to be associated to a particular <code>ActionMapping</code>.
  + * <li><strong>key</strong> - (Optional) Message key associated with the particular
  + *     exception.
  + * <li><strong>path</strong> - (Optional) Context releative URI that should
  + *     be redirected to as a result of the exception occuring.  Will overide the
  + *     input form of the associated ActionMapping if one is provided.
  + * <li><strong>scope</strong> - (Optional) The scope to store the exception in
  + *     if a problem should occur - defaults to 'request'.  Valid values are
  + *     'request' and 'session'.
  + * <li><strong>hierarchical</strong> - (Optional) Defines whether or not the
  + *     Exception hierarchy should be used when determining if an occuring
  + *     exception can be assigned to a mapping instance.  Default is true.
  + * <li><strong>handler</strong> - (Optional) The fully qualified class name
  + *     of the handler, which is responsible to handle this exception.
  + *     Default is 'org.apache.struts.action.ExceptionHandler'.
  + * </ul>
  + *
  + * @author ldonlan
  + * @version $Revision$ $Date$
  + *
  + * @since Struts 1.1
  + * @deprecated Replaced by org.apache.struts.config.ExceptionConfig
  + */
  +public class ActionException extends ExceptionConfig {
  +
  +    /**
  +     *Returns an instance of an <b>ActionError</b> configured for
  +     *this exception.
  +     *@return ActionError
  +     */
  +    public ActionError getError() {
  +        return new ActionError(this.key);
  +    }
  +
  +}
  
  
  
  1.5       +5 -5      jakarta-struts/src/share/org/apache/struts/action/SessionActionMapping.java
  
  Index: SessionActionMapping.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/SessionActionMapping.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SessionActionMapping.java	7 Jan 2003 06:32:25 -0000	1.4
  +++ SessionActionMapping.java	15 Apr 2003 00:18:45 -0000	1.5
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org