**DONOTDELETE**
(Unregistered)
12/26/06 10:54 AM
Re: Small inconvenience with classpath

Use getResource() instead of getResourceAsStream(), then use openConnection() instead of openStream(). From that URLConnection object you can getLastModified() and getInputStream() if the time is different than the last.


Contact us JavaWorld

Powered by UBB.threads™ 6.5.5

Featured White Papers


RESEARCH CENTERS: Java Standard Edition | Java Enterprise Edition | Java Micro Edition | Development Tools
About Us | Advertise | Contact Us | Terms of Service/Privacy
Copyright, 2006-2008 Network World, Inc. All rights reserved.