Skip to content

Tag: java

java.net.UnknownHostException: Invalid hostname for server: local

What are the steps I should take to solve the error: I added the new virtual host name at Android emulator but the result returns to When I type my virtualhost URL on my PC, it works on display. Then again, when I ran on Emulator and check on Logcat, I couldn’t be able to read or check the HTTP

Java Security: Illegal key size or default parameters?

I had asked a question about this earlier, but it didn’t get answered right and led nowhere. So I’ve clarified few details on the problem and I would really like to hear your ideas on how could I fix this or what should I try. I have Java 1.6.0.12 installed on my Linux server and the code below ru…

REST API for Java?

I am preparing an application which is console based and the outcome of the application is a RDF/XML file which contains data of all my connections from LinkedIn. Now the problem is that my entire application is console based and I need to have a REST API so as to incorporate with my application. I am not awa…

jsoup posting and cookie

I’m trying to use jsoup to login to a site and then scrape information, I am running into in a problem, I can login successfully and create a Document from index.php but I cannot get other pages on the site. I know I need to set a cookie after I post and then load it when I’m trying to open