Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Servlet basics

Status
Not open for further replies.

henpat123

Programmer
Apr 14, 2005
35
0
0
US
HI,
I am new to Java and I am doing my First Servelt. In the init function in a Servlet defined as below:

public void init(ServletConfig config) throws ServletException

What exactly is the ServletConfig Object and what is it used for? Is there a External XML Configuration file from where this objet gets initialized?

henry
 
Sorry,
I realized that I first posted it in the Java Forum and then later found that there is one for Servlet/JSP..so posted it here again.

henry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top