File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes application context and servlet context Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "application context and servlet context" Watch "application context and servlet context" New topic

application context and servlet context

Sam Mites

Joined: Nov 27, 2005
Posts: 15
Are application context and servlet context are same or different?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63062

"fried Water",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Forum Bartender

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
The short answer is yes.

"application context" is the name used in JSP
"servlet context" is the name used in the servlet API

But they refer to the same thing, and can be used interchangeably.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
subject: application context and servlet context
jQuery in Action, 3rd edition