Re: [OT] Do imports inherit?

2011-09-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Doug, On 9/11/2011 12:24 PM, Donald Jolley wrote: Thanks for the clarification. Also note that it's generally frowned upon to import with wildcards; be specific with the classes you use. Your suggestion certainly seems reasonable to me. I

RE: Do imports inherit?

2011-09-11 Thread Caldarale, Charles R
From: Donald Jolley [mailto:jolleyt...@gmail.com] Subject: Do imports inherit? I was sort of thinking that if I imported those classes into a parent class that would be sufficient for all the children. Apparently it isn't. Your final conclusion is correct - it's not sufficient

Re: Do imports inherit?

2011-09-11 Thread Donald Jolley
Thanks for the clarification. Also note that it's generally frowned upon to import with wildcards; be specific with the classes you use. Your suggestion certainly seems reasonable to me. I do, however, note that the use of wildcards seems to be fairly prolific. In this particular case my use

Do imports inherit?

2011-09-10 Thread Donald Jolley
I am writing a domain registration application.Typically, servlets extend the HttpServlet class and import java.io.*, javax.servlet.*, and javax.servlet.http.*. There are some methods and variables that I want to make available to all of my servlets in this application. So, I decided to create a