Re: Filter behaviour ( settinf Content-Length header )

2014-02-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jose, On 2/27/14, 3:22 PM, Christopher Schultz wrote: > Jose, > > On 2/27/14, 1:29 PM, Jose María Zaragoza wrote: >> 2014-02-27 17:24 GMT+01:00 Konstantin Kolinko >> : >>> 2014-02-27 18:31 GMT+04:00 Jose María Zaragoza >>> : And what d

Re: Filter behaviour ( settinf Content-Length header )

2014-02-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jose, On 2/27/14, 1:29 PM, Jose María Zaragoza wrote: > 2014-02-27 17:24 GMT+01:00 Konstantin Kolinko > : >> 2014-02-27 18:31 GMT+04:00 Jose María Zaragoza >> : >>> >>> And what do you recommend to me for forcing to return a >>> Content-Type ? Som

Re: Filter behaviour ( settinf Content-Length header )

2014-02-27 Thread Jose María Zaragoza
2014-02-27 17:24 GMT+01:00 Konstantin Kolinko : > 2014-02-27 18:31 GMT+04:00 Jose María Zaragoza : >> >> And what do you recommend to me for forcing to return a Content-Type ? >> Some weird clients require it >> >> If I cannot do it with a Filter , where can I do it ? >> > > You can do it in a Fil

Re: Filter behaviour ( settinf Content-Length header )

2014-02-27 Thread Konstantin Kolinko
2014-02-27 18:31 GMT+04:00 Jose María Zaragoza : > > And what do you recommend to me for forcing to return a Content-Type ? > Some weird clients require it > > If I cannot do it with a Filter , where can I do it ? > You can do it in a Filter. As I said, 1. The header must be set before writing a

Re: Filter behaviour ( settinf Content-Length header )

2014-02-27 Thread Lorenzo Fini
Did you try in the servlet? 2014-02-27 15:31 GMT+01:00 Jose María Zaragoza : > Thanks > > > And what do you recommend to me for forcing to return a Content-Type ? > Some weird clients require it > > If I cannot do it with a Filter , where can I do it ? > > 2014-02-27 12:41 GMT+01:00 Konstantin

Re: Filter behaviour ( settinf Content-Length header )

2014-02-27 Thread Jose María Zaragoza
Thanks And what do you recommend to me for forcing to return a Content-Type ? Some weird clients require it If I cannot do it with a Filter , where can I do it ? 2014-02-27 12:41 GMT+01:00 Konstantin Kolinko : > 2014-02-27 12:18 GMT+04:00 Jose María Zaragoza : >> Hello: >> >> I'm using Tomcat

Re: Filter behaviour ( settinf Content-Length header )

2014-02-27 Thread Konstantin Kolinko
2014-02-27 12:18 GMT+04:00 Jose María Zaragoza : > Hello: > > I'm using Tomcat 6.0.24 and I'm testing how to return Content-Length header > So I've defined a Filter and declared in web.xml of my web application > > If I do this: > > HttpServletResponse httpResponse = (HttpServletResponse) response;

[Ticket #603] Filter behaviour ( settinf Content-Length header )

2014-02-27 Thread Innoviti IT Support
This is a notification from the Help Desk. Ticket closed by Sudhindra Rao. On Feb 27, 2014 @ 02:16 pm, Sudhindra Rao wrote: Ticket closed. ==Ticket History== On Feb 27, 2014 @ 02:10 pm, it Support wrote: Assigned to Sudhindra Rao. -- On Feb 27, 2014 @ 01:43 pm, demablo...@gmail.com wrote

[Ticket #603] Filter behaviour ( settinf Content-Length header )

2014-02-27 Thread Innoviti IT Support
This is a notification from the Help Desk. Ticket was assigned to Sudhindra Rao. On Feb 27, 2014 @ 02:10 pm, it Support wrote: Assigned to Sudhindra Rao. ==Ticket History== On Feb 27, 2014 @ 01:43 pm, demablo...@gmail.com wrote: Hello: I'm using Tomcat 6.0.24 and I'm testing how to return Co

Filter behaviour ( settinf Content-Length header )

2014-02-27 Thread Jose María Zaragoza
Hello: I'm using Tomcat 6.0.24 and I'm testing how to return Content-Length header So I've defined a Filter and declared in web.xml of my web application If I do this: HttpServletResponse httpResponse = (HttpServletResponse) response; chain.doFilter(request, response); httpResponse.setHeader("Co