This week's giveaway is in the Testing forum.
We're giving away four copies of TDD for a Shopping Website LiveProject and have Steven Solomon on-line!
See this thread for details.
Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Eclipse 3.3 connecting to the internet

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Eclipse 3.3, Tomcat 5.5, Spring 2.0

I'm trying to learn spring mvc and have a tutorial that has a library (jar) that makes a connection to the internet, when It makes the call, I get a connection refused exception. I know that in order to recieve downloads (updates) I had to configure a manual proxy in the Preferences> general> network connections form. When running in localhost is there a way to specify (other than in code) (thru config?) that the app should download info from a link

Thanks, Tom
 
Marshal
Posts: 27211
87
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I read the first part of your post, I figured you were going to ask how to tell your applications where to look for your proxy server. But then you went off on some other course that I couldn't make sense of. (Localhost? Download from a link?)

So, I'm going to ignore that and assume you wanted to know how to get your applications to use your proxy server to access Internet addresses. Here is a page of Java system properties you can set for networking, scan it for the word "proxy" and you will see what variables you have to set. You would have to set those properties for the JVM that is running your applications. That could be Eclipse or it could be something else, your post doesn't give enough details for me to know that.
 
Happily living in the valley of the dried frogs with a few tiny ads.
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic