On 6/17/05, Janek Ziniewicz <[EMAIL PROTECTED]> wrote:
> SimpleDispatchAction inherits from Action class not from DispatchAction.
> At http://wiki.apache.org/struts/StrutsCatalogDispatchActionImproved you
> can read:
> "You can use a dispatch action without requiring configuration of a
> parameter attribute in struts-config.xml."
> 
> My problem is that each of my forms generates two POSTs with one click. I
> am not sure if the error comes from SimpleDispatchAction although it
> appeared when I 've started using it.  Its code looks ok.
<...removed...>
> Are there any 'typical' situations when one click generates two submits?

No, this is not typical. Get some HTTP sniffer (for Firefox I'd
recommend LiveHttpHeaders) and see what is happening. Also, in Tomcat
mail-list someone posted a bug, that for each request servlet is
called three times. Maybe it is related if you use non-stable Tomcat
build. But that one was three times, not two.

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

Reply via email to