Comment on Tutorial - Connect to a password protected URL from Java program By Mike Cooper



Comment Added by : acc

Comment Added at : 2013-07-25 14:30:50

Comment on Tutorial : Connect to a password protected URL from Java program By Mike Cooper
Hey thanks for your tutorial. But i'm getting an error when i run it.

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at postto.main(postto.java:57)

(in 57.line there is this line : au.fetchURL(args[0],args[1],args[2]);

i'm looking for a solution for this but i couldn't solve this, can you help me at this?


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. hi i need moving clock javascript code...please se
View Tutorial          By: madhavan at 2008-10-19 21:59:45

2. i got error like this java.lang.RuntimeException:
View Tutorial          By: Saliya at 2014-08-22 10:12:16

3. thanks brother
View Tutorial          By: shakeel at 2012-09-12 16:21:03

4. Thank You very much :)
View Tutorial          By: RaghuCK at 2010-09-09 13:53:26

5. it is really best site for the information.many ti
View Tutorial          By: panchanan ruata at 2013-05-22 09:36:37

6. one have to store .wav file in res folder of your
View Tutorial          By: swetha at 2013-06-14 06:47:57

7. Its tooo good to others.......& easy
View Tutorial          By: Abhishek at 2010-03-31 23:57:07

8. Hi, i am newly in java,please send me on sample pr
View Tutorial          By: aruna.k at 2012-12-13 06:05:44

9. If you use comments you will have better idea abou
View Tutorial          By: Mohammed Homam at 2009-12-06 04:43:51

10. @Iqra :

You're welcome. Use sites l

View Tutorial          By: Macho Man at 2012-07-16 08:02:14