I had a similar problem when using the submit onClick attribute which
submitted its own action. If you are doing the same thing, all I did was
switch over to using the html:button tag.
Vic
> -----Original Message-----
> From: Houghton,Neil [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, March 08, 2001 10:23 AM
> To: [EMAIL PROTECTED]
> Subject: Action executed twice !
>
> Hi,
>
> I am currently using Weblogic 5.1 SP8 with the latest nightly build of
> struts (08-03-01) and am observing some very odd behaviour with my
> Actions.
>
> I have placed a line of debug output into my Action which itself does
> nothing except return an ActionForward pointing to the input JSP. The
> JSP in question uses the struts tag library to create a form consisting
> of a textbox and submit button which in turn are contained within a
> table. Whenever I execute my Action (be it via the URL or by submitting
> the form) my line of debug appears twice in the Weblogic console. If I
> remove the table elements then my debug is only output once.
>
> Can anybody explain why this is happening ? I noticed that the example
> which ships with struts uses tables within forms, yet does not seem to
> exhibit this behaviour.
>
> Many thanks,
>
> Neil Houghton.