aspose file tools*
The moose likes Java in General and the fly likes getting null values in content encoding attribute in  URLConnection  class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "getting null values in content encoding attribute in  URLConnection  class" Watch "getting null values in content encoding attribute in  URLConnection  class" New topic
Author

getting null values in content encoding attribute in URLConnection class

praveen shinde
Ranch Hand

Joined: Jun 03, 2009
Posts: 63
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

Joined: Jun 03, 2009
Posts: 63
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

Joined: Oct 27, 2005
Posts: 19761
    
  20

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
praveen shinde
Ranch Hand

Joined: Jun 03, 2009
Posts: 63
Ok Rob,
I will do the needfull.
Thnaks for your help.
regards,
praveen
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getting null values in content encoding attribute in URLConnection class