##### Struts Tiles

- Welcome
- FAQ
- Installation
- User Guide
- Creating Templates
- Taglib Reference

##### Components

- Struts Apps
- Struts EL
- Struts Extras
- Struts Faces
- Struts Scripting
- Struts Taglib
- Struts Tiles

##### Quick Links

- Javadoc
- Struts 1

##### Project Documentation

- Project Information
- Project Reports
  - Checkstyle
  - CPD Report
  - DTDDoc
  - JavaDocs
  - PMD Report
  - Source Xref
  - Surefire Report
  - Taglibdoc documentation
  - Tag library validation
  - Tag reference
  - Test JavaDocs
  - Test Source Xref

## CPD Results

The following document contains the results of PMD's CPD 4.2.2.

## Duplications

File | Line
--- | ---
org\apache\struts\tiles\taglib\PutTag.java | 393
org\apache\struts\tiles\taglib\util\TagUtils.java | 212
            } catch (NoSuchMethodException ex) {
                throw new JspException(
                    "Error - component.PutAttributeTag : Error while retrieving value from bean '"
                        + beanName
                        + "' with property '"
                        + beanProperty
                        + "' in scope '"
                        + beanScope
                        + "'. (exception : "
                        + ex.getMessage(), ex);

            } catch (InvocationTargetException ex) {
                throw new JspException(
                    "Error - component.PutAttributeTag : Error while retrieving value from bean '"
                        + beanName
                        + "' with property '"
                        + beanProperty
                        + "' in scope '"
                        + beanScope
                        + "'. (exception : "
                        + ex.getMessage(), ex);

            } catch (IllegalAccessException ex) {
                throw new JspException(
                    "Error - component.PutAttributeTag : Error while retrieving value from bean '"
                        + beanName
                        + "' with property '"
                        + beanProperty
                        + "' in scope '"
                        + beanScope
                        + "'. (exception : "
                        + ex.getMessage(), ex);
            }
        }

        /**
         * Store bean in requested context.
         * If scope is <code>null</code>, save it in REQUEST_SCOPE context.
         *
         * @param pageContext Current pageContext.
         * @param name Name of the bean.
         * @param scope Scope under which bean is saved (page, request, session, application)
         *  or <code>null</code> to store in <code>request()</code> instead.
         * @param value Bean value to store.
         *
         * @exception JspException Scope name is not recognized as a valid scope
         */
        public static void setAttribute(