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



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


praveen kumar
servlet config
1 Answer(s)      3 years and 9 months ago
Posted in : Servlet Interview Questions


Dear friend plz tell the Purpose of ServletConfig??

supose if v write sample application .say... hello world

in this wat could be the init parameter need to pass !!r plz expalin some sample app where u used init parameter ..with servlet config..

with thanks praveen


Advertisement
View Answers

March 2, 2011 at 12:17 PM


Servlet Config

ServletConfig is a servlet configuration object used by a servlet container used to pass information to a servlet during initialization. All of its initialization parameters can ONLY be set in deployment descriptor.

For more information, visit the following link:

http://www.roseindia.net/servlets/GettingInitParameterNames.shtml



Related Tutorials/Questions & Answers:
servlet config
init parameter ..with servlet config.. with thanks praveen...servlet config  Dear friend plz tell the Purpose of ServletConfig?? supose if v write sample application .say... hello world in this wat could
servlet config
init parameter ..with servlet config.. with thanks praveen...servlet config  Dear friend plz tell the Purpose of ServletConfig?? supose if v write sample application .say... hello world in this wat could
Advertisements
what is web .config method
what is web .config method  servlet container what is difference between servlet container and servlet config? Servlet container(sub set of web...,call the service method and finally destroy it. Servlet config is an object
Hibernate config
In this section, you will learn about Hibernate config or configuration in Hibernate
difference between init() & init(ServletConfig config)?
difference between init() & init(ServletConfig config)?  I want to know the difference between init() and init(ServletConfig config) methods in GenericServlet
How to find a config file in spring project
How to find a config file in spring project  how to find configuration file in the spring project
javax.servlet.UnavailableException: org/apache/commons/chain/config/ConfigParser
javax.servlet.UnavailableException: org/apache/commons/chain/config/ConfigParser  Hi, i am anusha,when i am trying to run my struts program i got.../chain/config/ConfigParser please help for solving the problem
if we have 2 struts-config files - Struts
if we have 2 struts-config files  if we have declared 2 struts-config.xml files with same action mapping and forward? what will happen. if we have... strtus-config-.xml. eg struts-config-admin.xml. Here admin refers to the module name
mvc:default-servlet-handler
In this section, you will learn about configuring tag using Java config or XML Namespace
MVC Java Config or the MVC XML Namespace
In this section, you will learn about two different way for configuring Spring MVC : MVC Java Config or the MVC XML Namespace
Customizing the MVC Java config or XML Namespace
In this section, you will learn about customizing the MVC Java config or the MVC XML Namespace
How to configure ParameterizableViewController through MVC Java config and XML?
How to configure ParameterizableViewController through MVC Java config and XML?  Hi, Plz help me in How to configure ParameterizableViewController through MVC Java config and XML? Please feel free to suggest links or example
defined actions in struts config still getting a HTTP 404 - Struts
defined actions in struts config still getting a HTTP 404  Hi guys, I am getting an Invalid Path requested error. Heres the code snippet from struts-config.xml All the JSPs in the forward
Running faces config file without using internet - Java Server Faces Questions
Running faces config file without using internet  how i can run faces config file without using live internet i have put "web-facesconfig_1_1.dtd" file at local path while i run the jboss,it will throw exception
java - JSP-Servlet
Java Servlet Config means   What is Servlet Config means ?  ...://www.roseindia.net/servlets/ServletContext.shtml  Servlet Config means configurion of servlet it is used to cofigure any properties in web.xml and Context
Servlet
Servlet  What is Servlet
Servlet
Servlet  how to navigate one servlet page to another servlet page
servlet
servlet  is there any way to include pdf's in servlet
servlet
servlet  How many times the servlet is accessed
generic servlet
generic servlet  methods generic servlet    destroy() getInitParameter(java.lang.String name) getInitParameterNames() getServletConfig... config) log(java.lang.String message, java.lang.Throwable t) service
servlet
servlet  what are the methods and interfaces in the servlet api ?   Servlet Tutorials
servlet
servlet  how to interact with a servlet from a swing program
servlet
servlet  what are the all necessary configuration to run a servlet
servlet
servlet  i want to create a login page with servlet using database mysql? only in servlet not in jsp plzz help me out
servlet
servlet  I designed 1 html form & a servlet but when I click on form I don't get output of servlet Please help
servlet
servlet  I designed 1 html form & a servlet but when I click on form I don't get output of servlet Please help
Servlet
override Service method in the servlet when you extend GenericServlet to create servlet as it is mandatory to override it. But, when you extend HttpServlet to create a servlet then you can't override service method as there is a need to override
servlet
of the Servlet API. It contains the classes necessary for a standard, protocol-independent servlet. Every servlet must implement the Servlet interface in one
servlet
servlet  can i stoar record in variable which selected from table in servlet
servlet
servlet  dear sir servlet and html not run on eclips plz help me
servlet
servlet  how to create a login form using servlet using submit,edit delete button
Advertisements
 

 

 

DMCA.com