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. After a great struggle I am able to successfully c
View Tutorial          By: raghu at 2012-01-04 15:10:07

2. Hi Mirna,
U r talking abt speech to text co

View Tutorial          By: akshat at 2012-04-02 14:38:31

3. javax.microedition.media.MediaException: Malformed
View Tutorial          By: adi at 2012-04-01 11:51:17

4. what about strings in J2ME ?
View Tutorial          By: Swapnil at 2012-07-20 09:19:15

5. Hi, I tried this code to send sms from my PC which
View Tutorial          By: Jothi at 2009-05-15 03:19:54

6. how this program is work , please, tell
View Tutorial          By: rohit kumar at 2015-10-30 12:22:05

7. I need a sample example using checkbox in struts.t
View Tutorial          By: Nandhu at 2011-02-25 07:45:39

8. The concept is clear.
View Tutorial          By: sam at 2012-08-23 03:52:15

9. Thanks summarized and useful
View Tutorial          By: Pegasus_Silvershade at 2010-09-10 18:02:49

10. You saved my but by posting this. Thank You. I j
View Tutorial          By: cranakis at 2014-09-19 16:10:20