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



Ask a Question

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. Guys, txtWeb is back with their National Level Dev
View Tutorial          By: rahul.del at 2012-08-16 10:01:09

2. would you please send me a code that can be run pl
View Tutorial          By: putra at 2008-12-17 13:26:26

3. Thank you for good explanation. I am thinking of u
View Tutorial          By: Darshan at 2012-06-22 15:44:57

4. very nice content
View Tutorial          By: jagadeesh at 2012-04-25 06:24:03

5. what's the deffrint between "String[] [] Arra
View Tutorial          By: ahmad at 2009-08-24 03:01:11

6. Hello Friends, i am getting an error in following
View Tutorial          By: Albin at 2008-07-10 23:49:33

7. Thanks a lot for this very fruitful and amazingly
View Tutorial          By: Gaurav Saxna at 2011-06-15 06:20:18

8. Hi Sr,
I am doing u r program. I got error

View Tutorial          By: Dineshram P at 2011-09-06 14:11:00

9. pls help me .....its hard to understand for me th
View Tutorial          By: heidi at 2010-06-27 02:31:29

10. i really have to thank you for the wonderful fluid
View Tutorial          By: Joel Pereira at 2011-03-19 22:08:58