struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniele Development-ML <daniele....@googlemail.com>
Subject Reiterate action invocation in Download Action class
Date Mon, 06 Jul 2009 11:57:46 GMT
Hello everybody,
I have a Strut servlet that retrieve some data from a local database and
return the data to the invoking browser.
The problem I have is that the action is invoked four times and - I find the
in the db four downloading logs rather just one (the action logs also the
activities).

After some debugging, I have seen that there is no much suspicious
activities within my app - the stack trace reports four identical invocation
in with my class is called once, at the top of the trace.

I have tried to disable block of statements, and I have noticed that this
phenomenon occurs when I am effectively returning the data. That is, if the
return statement is "return null;" , the action is executed only once, else
if I return the data, the invocation occurs four times.

I have followed word-by-word the example here :
http://wiki.apache.org/struts/StrutsFileDownload#head-5f381aad527ae37711f4780b03f1b2a68f72c2bc
and
I have no clue on what the triggering cause could be, at this point.

Any suggestion or similar experience about that?

Many thanks,

Dan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message