wood burning stoves 2.0*
The moose likes Servlets and the fly likes difference between webapplication and servletcontext Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "difference between webapplication and servletcontext" Watch "difference between webapplication and servletcontext" New topic
Author

difference between webapplication and servletcontext

srinivas rao
Greenhorn

Joined: Feb 01, 2005
Posts: 10
what is the exact difference between a webapplication and a servlet context? i have googled many times but could not find the exact reason?
As far as i know servletcontext is a view of webapplication which contains servlets,jsp's and other resources.As per terminology we just say a webapplication as servletcontext?Im i right?
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

"ssrao"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it

here.

Thanks! and welcome to the JavaRanch!

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Well the ServletContext is a Java Object. A Web Application, is an application that runs on the web, it is not a Java Object, just a term.

Mark
srinivas rao
Greenhorn

Joined: Feb 01, 2005
Posts: 10
Thanks for your reply.

Now i am clear with your reply.


thanks
Srinivas
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

"srinivas", you have now changed your display name to three invalid names please pay attention to the instructions below:

Your display name must be two words: your first name, a space, then your last name. Fictitious ames are not allowed.

Please update your display name accordingly. Accounts with invalid display names get deleted.

thanks,
dave.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Your profile looks good now. I see two names, first and last.

Thanks

Mark
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: difference between webapplication and servletcontext
 
Similar Threads
RequestDispatcher confusion
Context obect
getRequestDispatcher
Diff between ServletContext and servletConfig
SessionContext and ServletContext