IBM Support

PM65454: ISSUE WITH DUPLICATE JSP ATTRIBUTES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Issue with multiple JavaServer Pages (JSP) attributes in
    WebSphere Application Server V8.0.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Version    *
    *                  8.0 and 8.5 users of JavaServer Pages       *
    *                  (JSP).                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: A JSP tag which has an attribute        *
    *                      specified multiple times ignores the    *
    *                      the previously set value.               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A custom JSP tag ignores overwrites a previously set value for
    an attribute if the attribute is set multiple times in the
    same tag.
    For example:
    <custom:testTag id="id1"
    myattr="test1"
    myattr="test2"/>
    The value stored for the "myattr" attribute will be "test2".
    

Problem conclusion

  • The JSP Container was modified to allow the storing of
    multiple values for a custom tag attribute.
    To enable this behavior the following JSP attribute must be
    set to "true" in the application's ibm-web-ext.xml file:
    allowMultipleAttributeValues
    
    An example entry for the JSP attribute is:
    <jsp-attribute name="allowMultipleAttributeValues"
    value="true"/>
    Alternatively, the following Web Container custom property can
    be set "true" to apply this behavior to the entire Web
    Container:
    com.ibm.wsspi.jsp.allowMultipleAttributeValues
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.0.0.5 and 8.5.0.2.  Please refer to the Recommended
    Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM65454

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-05-24

  • Closed date

    2012-08-13

  • Last modified date

    2012-09-21

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    PI30519

Fix information

  • Fixed component name

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R800 PSY

       UP

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 October 2021