File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes difference Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "difference" Watch "difference" New topic
Author

difference

Pavel Kubal
Ranch Hand

Joined: Mar 13, 2004
Posts: 356
Hi, newbie question :
what's the difference between ServletContext and Session?
R Bhatia
Greenhorn

Joined: Nov 15, 2004
Posts: 9
Hi,

interface ServletContext
Defines a set of methods that a servlet uses to communicate with its servlet container, for example, to get the MIME type of a file, dispatch requests, or write to a log file.

interface HttpSession
Provides a way to identify a user across more than one page request or visit to a Web site and to store information about that user.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: difference
 
Similar Threads
interview question
Why anonymous posts are allowed in this forum ?
WA #1.....word association
Clarification
Array Initilaize