Ronnie-

I was looking at the stack dumps you provided and there are some
filters in there, possibly someone else has set them up. Regardless,
it doesn't look like that is causing your problem.
      ApplicationFilterChain.internalDoFilter(ServletRequest,
ServletResponse) line: 252
       ApplicationFilterChain.doFilter(ServletRequest,
ServletResponse) line: 173

Also, in the two stack traces, there is a doPost the first time, and a
doPost the second time. I've looked in the Struts source for
ActionServlet and there's no code in there that will submit a request
from doGet() to doPost() or vice-versa.

I know it's been asked before, but is it possible that your browser is
submitting the request twice, once as a get and once as a post? You
can verify this by setting a breakpoint at something earlier in the
call stack, say at ActionServlet.service line:802, and then seeing if
that breakpoint gets hit every time the breakpoint in
PartesMedicosAction is hit. If both breakpoints are hit, then it's not
something in Struts, so set your breakpoint back to something in
Tomcat, like one of the Valve classes.

-ed

On 7/21/05, Ronnie Arosa <[EMAIL PROTECTED]> wrote:
> Hi Wendy,
> 
> I'm not using Filters.
> 
> Ronnie.
> 
> -----Mensaje original-----
> De: Wendy Smoak [mailto:[EMAIL PROTECTED]
> Enviado el: miƩrcoles, 20 de julio de 2005 20:02
> Para: Struts Users Mailing List
> Asunto: Re: TilesRequestProcessor is executed twice
> 
> From: "Ronnie Arosa" <[EMAIL PROTECTED]>
> > Well, I'm debugging my source code with Sysdeo's eclipse plugin.
> >  I toggled a breakpoint in one of my action, and founded that it'd
> >  been executed twice.
> >
> > Of course results of my actions are obtained twice (i.e. an insert in a
> > database is done twice).
> 
> If you have any Filters, check that you're only calling chain.doFilter(...)
> _once_.
> 
> --
> Wendy Smoak
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to