| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Rate Thread | Display Modes |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Dec 2006
Age: 25
Posts: 2
Thanks: 0 Thanked 0 Times in 0 Posts Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 2
|
Hi friends.......
I just want to know,what happens when we give load-on-startup as 0 in web.xml? |
|
|
|
|
|
#2 (permalink) |
|
Banned
Join Date: Sep 2007
Age: 25
Posts: 88
Thanks: 0 Thanked 4 Times in 4 Posts Thanks: 0
Thanked 4 Times in 4 Posts
Rep Power: 0
|
Re: what happens when we give load-on-startup as 0 in web.xml?
Container creates an instance of the servlet when you have started/deployed the application.and not at the time you made a request.
|
|
|
|
|
|
#3 (permalink) |
|
Member
Join Date: Mar 2008
Posts: 32
Thanks: 0 Thanked 0 Times in 0 Posts Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1
|
Re: what happens when we give load-on-startup as 0 in web.xml?
This tag specifies that the servlet should be loaded automatically when the web application is started.
The value is a single positive integer, which specifies the loading order. Servlets with lower values are loaded before servlets with higher values (ie: a servlet with a load-on-startup value of 1 or 5 is loaded before a servlet with a value of 10 or 20). When loaded, the init() method of the servlet is called. Therefore this tag provides a good way to do the following:
So if u give zero low priority will be given. comments r welcome. Regards, R.P.Karunakaran |
|
|
|
|
|
#4 (permalink) |
|
Junior Member
Join Date: Mar 2008
Posts: 13
Thanks: 0 Thanked 0 Times in 0 Posts Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1
|
Re: what happens when we give load-on-startup as 0 in web.xml?
hi swathi
The webcontainer is the responsible for calling the init() before creating the object. but when u r providing |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Some Loadrunner FAQs | kiran2710 | Testing Tools & QA | 1 | 25-10-08 01:42 AM |
| Diff between Load Testing and Stress Testing? | nani_i | Testing Tools & QA | 8 | 08-03-08 01:52 PM |
| FAQ - Performance & Load Testing | slinkanand | Testing Tools & QA | 3 | 06-02-08 09:27 PM |
| What are the uses of load testing? What is deferred graphs? What are the different components in load runner? | Spoorthi | Testing Interview / Technical Questions | 0 | 01-02-07 05:25 PM |
| How to Start a Startup | vjsreevs | Inspire yourself & Others - Leaders Zone | 0 | 19-07-06 02:57 PM |