DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16749>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16749

Struts EL tag handlers cannot be reused by containers

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From [EMAIL PROTECTED]  2003-02-19 04:07 -------
I've fixed this by using the same technique that was used to deal with the
handful of attributes whose type in the base class is not String.  This was done
by implementing a "shadow" attribute of the same name, but with different
getter/setter methods, and which use a BeanInfo class to point the new
getter/setter to the original attribute name.  This allows the EL tag to store
the expression value, and will still work if the web container doesn't call the
setter method again on a reused tag handler.

This required changing and adding a great deal of code, but 90% of the changes
were easily performed by a script.

This was tested in Tomcat 4.1.18 and Resin (I don't know what version).

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to