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.
Hi, I have a few question: 1) When we set header for "WWW-Authenticate" does "BASIC realm" carry any specifici meaning? Does it mean the particular scope that the authentication is allowed access? 2) I noticed that some sources have import javax.servlet.*; import javax.servlet.http.*; both. Doesn't javax.servlet.* include javax.servlet.http.* also? Thanks in advance!
Bob Moranski wrote: Doesn't javax.servlet.* include javax.servlet.http.* also? No. This is part of the basic java import syntax. the "import package.*" is only a shortcut for all the class files in that particular package (imagine that the * is a wildcard which doesn't match the "." character). This is actually one of the better features of the import mechanism, imagine what would happen if lazy programmers could just do "import java.*", or even worse: "import *" !!