marcobalc schrieb:
> Hi,
>
> I have tested an other controller that return to a jsp with simple HTML.
>
> The last rows of this controller are
>
> ...
> ....
> log.debug("isCommitted?? "+response.isCommitted());
> Map m = new HashMap();
> m.put("tutteListe", tutteListe);
> return new ModelAndView(getInputView(), m);
>
> I have invoked 5 times the same controller and the first 4 times the
> response is ok and the last call resulted on text/plain content type and in
> effect isCommitted return true.
>
> 2008-12-08 22:54:20,506 DEBUG
> [it.urlandus.events.app.web.controller.frontend.RegistrantsList] -
> isCommitted?? false
> 2008-12-08 22:54:25,104 DEBUG
> [it.urlandus.events.app.web.controller.frontend.RegistrantsList] -
> isCommitted?? false
> 2008-12-08 22:54:25,538 DEBUG
> [it.urlandus.events.app.web.controller.frontend.RegistrantsList] -
> isCommitted?? false
> 2008-12-08 22:54:27,240 DEBUG
> [it.urlandus.events.app.web.controller.frontend.RegistrantsList] -
> isCommitted?? false
> 2008-12-08 22:54:28,781 DEBUG
> [it.urlandus.events.app.web.controller.frontend.RegistrantsList] -
> isCommitted?? true
>
> Any idea about a possible cause of this issue?
Not really. But since we know, we can detect the commit in class
org.apache.jk.core.MsgContext, method action(), you can add there the
output of a stack. So each time some code calls commit, you can see
exactly where the call comes from.
Regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]