Hi all!

Usually jetspeed returns "text/html;charset=UTF-8" in response. But
sometimes after restart of tomcat server it returns just "text/html"
for every response till a next restart.

I've digged into code and found in method CapabilityValve.invoke next
lines of code:
        ................
        String encoding = request.getRequest().getCharacterEncoding();
        ................
        if (encoding != null)
        {
            contentType.append("; charset=" + encoding);
        }
        ................

So, it looks like request.getRequest().getCharacterEncoding() returns
null. Why can it be? How can I correct this error?

Thanks!


-- 
With best regards,
Vitaly Baranovsky

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

Reply via email to