I have a question.
How can I get the URL if I read it directly from the keyboard?
Hello all,
For example I run the following program:
javac myurl.java
http://www.mysite.com/index.html Can I do something like this? Or I have to hard code the URL inside the class?
//////////////////////// myurl.java///////////////
public class myurl {
public static void main(
String[] args) throws Exception {
URL aURL = new URL(args);
}
}
Could someone help me with this ?