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 

           Summary: Hash "#" in HTML when taglibs are used causes double
                    post to action
           Product: Struts
           Version: 1.1 Final
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Sorry if this is a dupe, but I searched and could not find this issue documented.  

I have a basic jsp, with basic very small form using bean:, logic: and html:
taglibs (using bean:write, logic:equals, logic:greaterThan, html:form,
html:select, html:optionsCollection, html:submit, html:image).  Also on the page
is some html (outside of the form actually) that has/had a hash "#" for an image
src (image was not yet available).  This hash *seemed* to cause a double posting
to the action class.  (The form was used as both post and get at different
times, same result.)

I remove the '<img src="#" />' and I get normal single post to action class,
bean populated, everything fine.  With the '<img src="#" />' in the page I get
first submit/post with normal properties as debug from the action displays, then
I get a second invocation of the action with null values in the form (form is
request scoped, so for new action invocation where buttons are not clicked this
makes sense, problem is that second request was never made by browser/client).

Also noticed this possibly related post -
http://www.mail-archive.com/[EMAIL PROTECTED]/msg90994.html. 
Mentioned here because the issue also appeared to be hash (#) related.

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

Reply via email to