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




Have Programming Question? Ask it here!
 
 
 


praveen kumar
servlet config
1 Answer(s)      3 years and 6 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
servlet
servlet  what are the methods and interfaces in the servlet api ?   Servlet Tutorials
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 all necessary configuration to run a servlet
servlet
servlet  how to interact with a servlet from a swing program
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
servlet  i want to create a login page with servlet using database mysql? only in servlet not in jsp plzz help me out
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
Servlet  What must be implemented by all Servlets?    The Servlet Interface must be implemented by all servlets
servlet
servlet  i want a program for counting the no of times the servlet has been invoked
servlet
servlet  can i stoar record in variable which selected from table in servlet
servlet
servlet  how to create a login form using servlet using submit,edit delete button
servlet
servlet  dear sir servlet and html not run on eclips plz help me
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  I want to know the steps to write a simple servlet program... .   Hello Friend, Follow these steps: Put servlet-api.jar inside the lib folder of apache tomcat. 1)create a servlet. import java.io.*; import
Servlet
Servlet   Why is Servlet so popular?   Because servlets are platform-independent Java classes that are compiled to platform-neutral byte code that can be loaded dynamically into and run by a Java technology-enabled Web
servlet
servlet  i want to use servlet application on my web page then what should i do. I have already webspace.   Hi Friend, Please visit the following link: Servlet Tutorials Thanks
servlet
servlet  how to read a file from different folder using filereader in servlet   Hello Friend, Please visit the following link: http://www.roseindia.net/servlets/servlet-read-file.shtml Here you will get an useful
servlet
servlet  I want the full coding for uploading a file in local drive D usin jsp,java class and servlet... help me thanks in advance....   ... and servlet please and thanks in advance
Servlet
Servlet  Can a user defined function be included in a servlet? I need information regarding servlet syntax and not JSP.   Yes, you can create user defined function in Servlets. Have a look at the following link: http
Servlet
Servlet  Hi, Can any one please expalin me below topics SERVLET ENGINE 2.WHY SUPER.INIT(); Thanks alot in advance!! Regards: Akash
servlet
servlet  plz can anyone give me the link of javax library jar file. i badly need that. thanks in advance   Please visit the following link: Download Servlet API
servlet
servlet   Dear Deepak, is it compulsary to write the sevice() becoz i ve seen some example which does not ve sevice()..is it tue? plz replay me with thanks praveen
servlet
servlet  I want a fully readymade project on online voting system with code in java servlet and database backend as msaccess.can u plz send me as soon as possible
Servlet
the same error <web-app> <servlet> <servlet-name>InsertServlet</servlet-name> <servlet-class>InsertServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>
servlet
servlet file which prints out the user's inputs. I need to use the post method to pass the data from html to the java servlet and also use both doGet and doPost methods in the servlet. I think, but unfortunately I have a terrible teacher
SERVLET
to the servlet and if the user id is correct then a new page will be displayed with his... pass to the servlet and all the fields brlongs to that id will be appear... will be done by using jsp and servlet... Plz help me,im really tensed...........  
servlet
servlet  hi sir,this is ashok.i installed tomcat 6.0 and jdk-150.i checked the server it's working but when execute servlet program for the .class file it shows the errors javax.servlet is not exist.what can i do,please tell me
servlet
to servlet. So, if anyone can help me so I can see how to connect the two I would
servlet
servlet  How do we define an application level scope for servlet?   Application scope uses a single namespace, which means all your pages should be careful not to duplicate the names of application scope objects
servlet
servlet  how to jsp integer are type cast int servlet page   Hi Friend, Try the following code: 1)form.jsp: <form method="post" action="../Data"> Enter Number:<input type="text" name="num" > <input
Advertisements
 

 

 

DMCA.com