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. thank's a lot for giving me " static "
View Tutorial          By: anwar kotawdekar at 2013-08-14 06:43:34

2. Hello, I have been using a very similar code on de
View Tutorial          By: Rod at 2011-11-13 15:09:52

3. i found this tutorial very useful... i need to kno
View Tutorial          By: Anonymous at 2009-04-14 21:09:20

4. plz send me java prograams
View Tutorial          By: simmy at 2009-10-26 01:57:55

5. it is nice but please give simple example like are
View Tutorial          By: red at 2009-12-03 23:07:37

6. I can't get it untill now. I need further explaina
View Tutorial          By: johnlie at 2011-01-19 20:31:09

7. package alphabets;

import java.util

View Tutorial          By: Nitish at 2013-01-25 04:06:38

8. i m happy this programs thsk
View Tutorial          By: jai at 2011-05-09 14:20:35

9. array is the one which can save similar data typed
View Tutorial          By: Cegonsoft Reviews at 2011-07-26 00:54:18

10. thank u so much.
View Tutorial          By: sai at 2012-07-09 10:49:33