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. which method is called if i call overriden method
View Tutorial          By: sarah at 2012-02-01 13:36:10

2. Legend. Worked first time!
View Tutorial          By: Luke at 2014-12-19 10:10:00

3. HI,

The function is throwing an err

View Tutorial          By: Vamshi at 2010-08-31 05:04:03

4. give the picture view of connecting vb.net with my
View Tutorial          By: Murugamani at 2014-09-09 06:12:58

5. thanks i understood
View Tutorial          By: raksha at 2012-11-04 16:44:19

6. write the program to convert the following:

View Tutorial          By: belgreen frodo at 2015-03-31 05:53:21

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

8. why we use the java in networking and What are the
View Tutorial          By: ali mohammed at 2015-10-11 23:03:40

9. good explanation
View Tutorial          By: Naresh Kumar at 2010-10-25 00:28:18

10. Where to put the smsc number. I am using vodafone
View Tutorial          By: gopi at 2009-06-11 22:07:49