| Author |
Unable to display the UI
|
Loh Peggie
Ranch Hand
Joined: Jul 09, 2009
Posts: 51
|
|
Hi guys I have been doing this tutorial for days but there is error, hence I am not able to proceed.
Thanks
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24039
|
|
|
So what's the error? Does it compile? If so, what happens when you run it, and what did you expect to happen?
|
[Jess in Action][AskingGoodQuestions]
|
 |
Mohamed Sanaulla
Bartender
Joined: Sep 08, 2007
Posts: 2925
|
|
The subject
Unable to display the UI
is a bit misguiding.
|
Mohamed Sanaulla | My Blog
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19214
|
|
|
I agree. There is no UI involved here. Loh Peggie, please UseAMeaningfulSubjectLine. One that does explain the problem in a few words.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
|
|
I wonder what the outout would look like , so I tried with a Java Ranch Site , but i am getting Connection timed out: connect
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at Main.main(Main.java:11)
Could anybody help me to resolve this error . Thanks .
|
Save India From Corruption - Anna Hazare.
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24039
|
|
Ravi Kiran Va wrote:
Could anybody help me to resolve this error . Thanks .
Assuming a web browser works from the same machine, you must be behind a proxying firewall, either on our own machine, or somewhere on the network you're attached to. As we don't know anything about your setup, we can't tell you precisely what to do, but this page gives the general procedure once you know something about the proxy you need to get through.
|
 |
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
|
|
Thanks for the information , atleast i will try at home .
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32599
|
|
|
Did you post real code? There was a compiler error in what you posted originally; when I corrected that, it worked nicely for me.
|
 |
 |
|
|
subject: Unable to display the UI
|
|
|