2007/10/24, Himstedt, Maik (EXTERN: T-Systems on) <
[EMAIL PROTECTED]>:
>
>     return findForward(null);
> ...
> Debug shows that the code in the action method is executed, but the
> browser shows an empty page after executing the action. I would expect
> that simple nothing would happen (as the real download functionality/the
> response) isn't implemented yet.


It's perfectly normal! Since you are forwarding to nothing, a response MUST
be sent to the client, and it is a default response (no content, but the
HTTP headers are present).

To be more precise, I'd expect the
> browser to show the search mask and the result still.



Do you mean that you expected that the original page is still present after
that request?
This is true, if the file is not HTML, plain text, and other formats that
are directly interpretable by the browser.
If you put in the response, say, a "zip" file, your browser will ask you to
save/open it (possibly you have to set the "Content-disposition" HTTP header
parameter).

Antonio

Reply via email to