Results 1 to 2 of 2
Thread: Basics of Servlet
- 06-13-2008, 08:22 AM #1
Member
- Join Date
- Jun 2008
- Posts
- 1
- Rep Power
- 0
- 06-13-2008, 02:07 PM #2
Member
- Join Date
- Apr 2008
- Posts
- 91
- Rep Power
- 0
It depends on the Configuration which we did in the web.xml.
If we put load on startup tag inside web.xml and if we mention the
particular servlet inside this tag, at the time of server startup, web -
container will load the servlet class into the memory, and webcontainer
will create the servlet instance by calling the default
constructor. After that container will initialize this servlet by calling init()
method. So All initialization code we can put inside init tag inside the
web.xml, get the ServletConfig Object. These properties of the servlet
will be shared among the clieants.
Similar Threads
-
Doubt in basics of Servlets
By pooja.gupta84 in forum Java ServletReplies: 4Last Post: 06-24-2008, 06:32 PM -
Basics
By AKP in forum New To JavaReplies: 7Last Post: 05-23-2008, 12:06 PM -
regading jsp basics
By lpwing in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 01-21-2008, 07:52 AM -
Session Beans (basics)
By Java Tip in forum Java TipReplies: 0Last Post: 12-28-2007, 10:43 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks