This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I copied the instructor's solution for Servlets 4b and then tried to do a build. Got the following complaint from the compiler about a duplicate class. The code compiles okay, and the source file for Servlets 4a which goes by the same name has been put into its own directory inside videos in case I need to look at it again. So where is this duplicate file?
Where exactly did you put the old file? Where is build.xml?
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Joined: Mar 15, 2001
build.xml is at C:\Program Files\Java\videos, which is where it was for the 4a assignment. I put the source code for Servlet 4a in a directory named 4a in com/javaranch/drive/videos/4a I figured if it was in its own directory, it wouldn't cause problems
Marilyn de Queiroz
Joined: Jul 22, 2000
I'm kinda confused. You have 4a here C:\Program Files\Java\videos\com\javaranch\drive\videos\4a\src\java\com\javaranch\drive\videos\VideoServlet.java and 4b here C:\Program Files\Java\videos\com\javaranch\drive\videos\src\java\com\javaranch\drive\videos\VideoServlet.java ??