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. This is awesum !!!
easy to understand ....

View Tutorial          By: Sud at 2011-01-19 08:37:55

2. sUPER eXPLAnation
View Tutorial          By: Surendra at 2015-06-13 07:23:56

3. Hi Guys, thanks for sharing this... I have some mo
View Tutorial          By: Fins at 2011-12-14 04:40:09

4. when i am trying to compile your program one error
View Tutorial          By: anindya at 2011-11-23 03:00:49

5. Hiiii Al, I am Ashraf Abu Aisheh, i am working to
View Tutorial          By: Ashraf Abu Aisheh at 2008-11-09 14:56:39

6. Hi Jgan,
Its very useful ad nice article .

View Tutorial          By: pramod at 2012-01-16 13:21:35

7. it is not working
View Tutorial          By: shaishav at 2013-06-20 08:03:06

8. I need dumps for practice
View Tutorial          By: Sanket barge at 2011-06-17 10:05:16

9. do we require a gsm modem for sure ? aren't there
View Tutorial          By: sherry at 2012-07-10 11:28:58

10. i want url full form
View Tutorial          By: arun at 2010-12-10 03:33:49