Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: croyce
  • Content: Threads
  • Order by date
  1. croyce

    JSP - Checking if a file exists.

    I am writing a web page, where I would like to check if an image exists on the server or not. ie.. if(imageExists(image1.gif)) { <img src='image1.gif'/> } else { //Do nothing } Something like above. I've tried... File file1 = new file(image1.gif); if(file1.exists()) do this; but...

Part and Inventory Search

Back
Top