You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Diego Alejandro Fliess (Jira)" <ji...@apache.org> on 2021/04/16 10:37:00 UTC

[jira] [Updated] (WW-5124) Tag attribute values cached

     [ https://issues.apache.org/jira/browse/WW-5124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Diego Alejandro Fliess updated WW-5124:
---------------------------------------
    Description: 
On some application servers, like glassfish, when handling jsp tag pooling, attribute values are cached or not reinitiallized.

For example:
{code:java}
<s:textfield size="50">
    <jsp:attribute name="placeholder">THIS TEXTFIELD SHOULD HAVE VALUE</jsp:attribute>
    <jsp:attribute name="value">VALUE</jsp:attribute>
</s:textfield>
<s:textfieldsize="50">
    <jsp:attribute name="placeholder">THIS TEXT FIELD SHOULDN'T HAVE VALUE</jsp:attribute>
</s:textfield>{code}
 

  was:
On some application servers, like glassfish, when handling jsp tag pooling, attribute values are cached or not reinitiallized.

For example:
{code:java}
<s:textfield size="50">
    <jsp:attributename="placeholder">THIS TEXTFIELD SHOULD HAVE VALUE</jsp:attribute>
    <jsp:attributename="value">VALUE</jsp:attribute>
</s:textfield>
<s:textfieldsize="50">
    <jsp:attributename="placeholder">THIS TEXT FIELD SHOULDN'T HAVE VALUE</jsp:attribute>
</s:textfield>{code}

  


> Tag attribute values cached
> ---------------------------
>
>                 Key: WW-5124
>                 URL: https://issues.apache.org/jira/browse/WW-5124
>             Project: Struts 2
>          Issue Type: Bug
>         Environment: Here you have a repo that reproduce this:
> https://github.com/dfliess/struts2-tagpooling-bug
>            Reporter: Diego Alejandro Fliess
>            Priority: Major
>
> On some application servers, like glassfish, when handling jsp tag pooling, attribute values are cached or not reinitiallized.
> For example:
> {code:java}
> <s:textfield size="50">
>     <jsp:attribute name="placeholder">THIS TEXTFIELD SHOULD HAVE VALUE</jsp:attribute>
>     <jsp:attribute name="value">VALUE</jsp:attribute>
> </s:textfield>
> <s:textfieldsize="50">
>     <jsp:attribute name="placeholder">THIS TEXT FIELD SHOULDN'T HAVE VALUE</jsp:attribute>
> </s:textfield>{code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)