• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getting null values in content encoding attribute in URLConnection class

 
praveen shinde
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We are executing the following code to print encodingtype etc. But we are getting null value.
why is the actual value not printed. I am unable to find out. any help is welcome.
I am giving the code below.


 
praveen shinde
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We are executing the following code to print encodingtype etc. But we are getting null value.
why is the actual value not printed. I am unable to find out. any help is welcome.
I am giving the code below.




The following is the generated output:
run:
 
Rob Spoor
Sheriff
Pie
Posts: 20659
64
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Praveen, next time you should first select the text to put inside a code block. Otherwise an empty code block will be added at the end of your post. I've fixed this for you this time.
 
praveen shinde
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok Rob,
I will do the needfull.
Thnaks for your help.
regards,
praveen
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic