On 8/3/07, Thankful Novice <[EMAIL PROTECTED]> wrote:
>
> I am using XML-RPC and am trying to use a ServletFilter to handle transaction
> code.  The problem I am seeing is that the reponse is sent before control is
> returned to the filter.  Below is a code sample where the filter throws and
> exception but this happens after the responce and the client has already
> continued on.  Is there a way to overcome/handle this?

A servlet filter isn't the recommended tool of choice. I'd personally
use my own handler mapping. That handler mapping would invoke the
actual handlers via reflection and the logic for transaction handling
would sit around the reflection call.

Jochen


-- 
"Besides, manipulating elections is under penalty of law, resulting in
a preventative effect against manipulating elections.

The german government justifying the use of electronic voting machines
and obviously  believing that we don't need a police, because all
illegal actions are forbidden.

http://dip.bundestag.de/btd/16/051/1605194.pdf

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

Reply via email to