You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/02/11 05:18:42 UTC

DO NOT REPLY [Bug 26736] - Hash "#" in HTML when taglibs are used causes double post to action

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=26736>.
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=26736

Hash "#" in HTML when taglibs are used causes double post to action

husted@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
            Summary|Hash "#" in HTML when       |Hash "#" in HTML when
                   |taglibs are used causes     |taglibs are used causes
                   |double post to action       |double post to action



------- Additional Comments From husted@apache.org  2004-02-11 04:18 -------
If a double submit is occuring, it would have to be a client issue. This does 
not seem like something that Struts could control or affect. Apparently, when 
some browsers try to retrieve the source for an image from an invalid local 
reference, a form submit elsewhere on the page may occur. But the browser has 
no idea that Struts or an Action is involved, so I imagine any form would be 
submitted. (Not just one involved with a Struts Action.) The page itself is 
rendered outside of Struts by the JSP engine, and form submits are the domain 
of the browser. I don't see that there is anything that Struts could do about 
this happenstance. I wasn't able to pull up the relevant RFCs, but I'd 
question whether "#" is even a valid URI and consequently an illegal value for 
a "src" attribute. If it were me, I'd use some type of "Image not available" 
image instance so that the src attribute has a valid reference.

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