dcsimg

How do you check if a Connection hasn't been closed and is still valid?

John Zukowski

See the new isValid() method of Connection, added in Java 6.