Why is Coffee Called a Cup of Joe?

During prohibition the Secretary of the Navy, Joseph Daniels, banned alcohol on all navy bases and ships. Because of this more personnel in the Navy drank coffee. They called the drink a cup of Joe making it sound like a shot drink in his honor.