• Post Reply Bookmark Topic Watch Topic
  • New Topic

Turning-on Encoding

 
Reema Patel
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I have created a simple Servlet Filter class. Inside the doFilter() method, I'm trying to check if the client supports any encoding.


I tried to run using Firefox and IE, but, unfortunately I get to see null. Could somebody guide me how I can turn-on encoding in web browser or there's something wrong in the code?

Thanks,
Reema
 
Dave Wingate
Ranch Hand
Posts: 262
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From browsing the HTTP 1.1 RFC, it sounds like it might be common for the browser to NOT send that header value
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!