aspose file tools*
The moose likes Servlets and the fly likes BASIC realm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "BASIC realm" Watch "BASIC realm" New topic
Author

BASIC realm

Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
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!
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
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 *" !!


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: BASIC realm