Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


samar
Explain ServletContext.
1 Answer(s)      4 years and a month ago
Posted in : Servlet Interview Questions


Explain ServletContext.


Advertisement
View Answers

November 13, 2010 at 1:31 PM


Hi,

Here is the answer,

ServletContext interface is a window for a servlet to view it?s environment. A servlet can use this interface to get information such as initialization parameters for the web applicationor servlet container?s version. Every web application has one and only one ServletContext and is accessible to all active resource of that application.

Thanks,



Related Tutorials/Questions & Answers:
Explain ServletContext.
Explain ServletContext.  Explain ServletContext.   Hi, Here is the answer, ServletContext interface is a window for a servlet to view.... Every web application has one and only one ServletContext and is accessible to all
ServletContext
ServletContext   Explain ServletContext ?    ServletContext interface is a window for a servlet to view it's environment. A servlet can use... and only one ServletContext and is accessible to all active resource
Advertisements
ServletContext
ServletContext  What is ServletContext?   ServletContext is an Interface that 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
ServletContext
ServletContext       ServletContext is an interface that is defined in the javax.servlet package... file. Each web application has only one ServletContext, which is accessible
Difference between ServletContext and ServletConfig
Difference between ServletContext and ServletConfig   What is the difference between ServletContext and ServletConfig?   ServletContext... to a log file.The ServletContext object is contained within the ServletConfig
ServletConfig and ServletContext - JSP-Servlet
ServletConfig and ServletContext  Hi, What kind of infomation can be stored in and for ServletConfig and ServletContext objects .PLease give.... Each web application consists of one ServletContext, which can be used as share
difference between servletconfig and servletcontext in java
difference between servletconfig and servletcontext in java  difference between servletconfig and servletcontext in java   ServletContext ServletContext is implemented by the servlet container for all servlet
difference between servletconfig and servletcontext in java
difference between servletconfig and servletcontext in java  ... using init(). ServletContext is implemented by the servlet container for all... using init(). ServletContext is implemented by the servlet container for all
Java ServletContext Interface
Java ServletContext Interface In this tutorial, we will discuss about ServletContext Interface. ServletContext Interface : ServletContext defines set.... ServletContext object is used to communicate with the servlet container. There is only
Difference Between ServletConfig And ServletContext
Difference Between ServletConfig And ServletContext Here we will see how the ServletConfig And ServletContext are different from each other. Most... initialized in the web.xml file. ServletContext getServletContext() : This method
Explain - LDAP
Explain LDAP  Any one explain about LDAP ? and also explain about JNDI what relation b/w this two
ServletContext Java EE 6
ServletContext Java EE 6 In this tutorial you will learn about the modification in ServletContext interface's made in Java EE 6. Definition of ServletContext is remain same, as usual you know the definition of ServletContext
Explain WML
Explain WML  hii, What is WML?   hello, WML stands for Wireless Markup Language. It is a simple language used to create applications for small wireless devices like mobile phones. WML is analogous to HTML
explain this method
explain this method   i hope any one can explain this method ` private void showMonth(int m, int y) { int lead_spaces = 0; if (m < 0 || m > 11) { System.out.println("It should be 1 to 12
Explain unescape() and escape() in JavaScript?
Explain unescape() and escape() in JavaScript?  Explain unescape() and escape() in JavaScript
Explain normalization concept?
Explain normalization concept?  Explain normalization concept
Explain types of java programs
Explain types of java programs  Explain types of java programs   Types of Java Programs: Standalone Applications Web Applications Enterprise Applications Console Application Web services
please explain this program
please explain this program  public class MainClass { public static void main(String[] args) { System.out.println("Java
Explain Transparent Persistence - Hibernate
Explain Transparent Persistence   Hi Friends, Can u plz explain Transparent Persistence briefly  Hi Follow this link to find solution of your problem... http://www.roseindia.net/jdotutorials/jdo
Explain struts.jar file - Struts
Explain struts.jar file   Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain
Explain push and pop
Explain push and pop   hii, Define push and pop?   hello, The insertion operation is referred to as push and the deletion operation is referred to as pop
Please explain Hibernate Sessionfactory.
Please explain Hibernate Sessionfactory.  Hi there, Please explain Hibernate session factory in detail. I have just started learning hibernate so i..., the tutorials here will help you learn Hibernate and will explain about hibernate
what is the meaning of this or explain this
what is the meaning of this or explain this  List<Object[]> list=query.list();   Hi Friend, It will return the query values in the form of list. For more information, visit the following link: Hibernate
Explain Hibernate Relationships with example.
Explain Hibernate Relationships with example.  Hello, Please explain various hibernate relationships. And if you can provide some examples that would be a great help.. Thank you....   Hi, Hibernate relational
Please explain @interface with an example
Please explain @interface with an example  Here is the code snippet: @Retention(RUNTIME) @Target({ FIELD }) public @interface InjectProperty... explain what does all these mean? How all these work
Please explain @interface with an example
Please explain @interface with an example  Here is the code snippet: @Retention(RUNTIME) @Target({ FIELD }) public @interface InjectProperty... runnable; where Runnable is an interface. Could you please explain what does
explain servletconfig with programiing example?
explain servletconfig with programiing example?  explain servletconfig with programiing example?   ServletConfig is a servlet configuration object used by a servlet container used to pass information to a servlet during
can any one explain this
can any one explain this  class Clidder { private final void flipper() { System.out.println("Clidder"); } } public class Ex3 extends Clidder { public final void flipper() { System.out.println
Explain Linked List
Explain Linked List   hello, What is Linked List ?   hello, Linked List is one of the fundamental data structures. It consists of a sequence of nodes, each containing arbitrary data fields pointing to the next
Explain factories design?
Explain factories design?  Hi, I can't understand the concept of factories design, if you can explain it to me in simple words, i would be grateful. Thanks..   Hello, Factory Method is a creational pattern
please explain this prog
please explain this prog  can u explain this import java.io.*; class SString{ public static void main(String ar[]) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in
Advertisements
 

 

 

DMCA.com