Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

URLConnection  RSS feed

 
Randall Twede
Ranch Hand
Posts: 4692
8
Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am doing a GET from an applet. According to the article I read, this is all I need:
<HR></BLOCKQUOTE>
I am wondering why there is no try block and why the connection is not closed.
Well the compiler says I must handle MalformedURLException and IOException.
I am having a problem though see this thread: http://www.javaranch.com/ubb/Forum7/HTML/002104.html

[This message has been edited by Randall Twede (edited February 09, 2001).]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!