Rainer thanks for support.
Now I have build tomcat but is not clear for me what you mean with "output
of a stack"
Could you seggest wath line write.
(I think the line should be added in this block of code)
if( actionCode==ActionCode.ACTION_COMMIT ) {
...
...
}
Rainer Jung-3 wrote:
>
> 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]
>
>
>
--
View this message in context:
http://www.nabble.com/bad-content-type-mod_jk-1.2.27-tp20892496p20914634.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]