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. I have use the above code, Am getting the below er
View Tutorial          By: RameshKumar at 2011-07-25 05:02:12

2. I am to learn J2ME
View Tutorial          By: ravi kumar at 2011-06-20 05:50:20

3. Good explanation with simple language and style. N
View Tutorial          By: Ismail. MC at 2009-03-31 04:46:04

4. very useful information from this page.
View Tutorial          By: mahadevi at 2012-04-12 04:38:53

5. i understand but i want many information and prog
View Tutorial          By: malathi at 2013-03-29 23:52:28

6. can someone explain above example in detail
View Tutorial          By: neha at 2012-03-24 05:57:34

7. i like this a lot
View Tutorial          By: raj at 2011-05-06 06:15:36

8. hi plz help
how do we change project develo

View Tutorial          By: pratik jogwar at 2012-06-07 19:58:47

9. Pls put all this code in one folder(Full project d
View Tutorial          By: Guruprasada at 2011-09-15 07:27:57

10. How to print lee alone for the eg above........I n
View Tutorial          By: sa at 2013-04-01 07:43:03