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 Its very useful ad nice article Thanks
View Tutorial          By: Hanish at 2011-07-22 13:12:23

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

3. thnks lot 4 helping me
View Tutorial          By: sandeep dudi at 2011-11-17 06:06:03

4. Hii.... We are B.Tech 4th year students. We are wo
View Tutorial          By: Shipra Malik at 2010-08-17 03:32:34

5. Easy to understand.......
View Tutorial          By: Priya at 2013-02-15 10:55:52

6. sir please check the program in for loop
View Tutorial          By: vc ramreddy at 2009-09-28 23:35:10

7. Hey thnx. Solved my "inconvinience" ;P
View Tutorial          By: Hesam Ossanloo at 2013-12-19 15:13:31

8. You said the garbage collector can not be forced,
View Tutorial          By: Biniam E at 2011-12-17 15:09:09

9. hello everyone... I am getting the error "sms
View Tutorial          By: umar at 2010-12-19 04:20:33

10. Very good example .!
Ty

View Tutorial          By: Mprogrammer at 2014-11-25 12:10:21