Hummm... well, trying not to do a long message I didn't write a sentence after this:
stream =new DataInputStream(uc.getInputStream());
that calls a procedure that reads the DataInputStream
:-)
But as you say, this won't hellp outside a browser, and I am not using a browser.
About the second...
Thanks but... the first solution setAllowUserInteractionn(true), doesn't seen to work, at least, nothing different happens.(nor a pop up window...)
And the other one...the setrequest...maybe I do not know enough of this yet, cause I do not know what key or value can be...
This is part of the...
Hi, I am doing a java program to conect to a web page that is password protected. I mean, the server asks me for a user and password to log to acess to that file. I am using the url.openconnection()method, and the url is in the shape
http://user:password@host:port
but I annot enter the page...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.