This week's book giveaway is in the Cloud/Virtualization forum. We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line! See this thread for details.
Should my Beer-v1 directory be placed inside the webapps or the webapps/ROOT directory? Using http://localhost:8080/Beer-v1/form.html only loads the page when my Beer-v1 directory is placed inside ROOT.
Either Beer-vi directory be placed inside the webapps or the webapps/ROOT directory is fine. But did you create appropriate WEB-INF directory and web.xml file in the Beer-v1 directory when you placed inside the webapps? Good luck!
D is not correct. Why? The Java language has three mechanisms dedicated to ensuring proper initialization of objects: instance initializers (also called instance initialization blocks), instance variable initializers, and constructors. It is initializers doing that, not default constructor initializing the instance variables declared in the class.