This is a discussion on Servlet creation and servlet loading........ within the Java Programming forums, part of the Software Development category; Pls anyOne Explain the difference between servlet creation and servlet loading.......
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Servlet can initialize when it recieves a request for that srvlet first time. This is called servlet creation. The process of loading servlet before any request comes then this is called sevletloading It loades with the help of <load-on-startup> attribute from the deployment descriptor
__________________ cheers Aman |
| |||
| Servlet Loading: Bringing the class in the memory. Servlet creation: Instantiating ang initializing the Servlet
__________________ Krishnakumar.S Beware of Everything -that is un true; stick to the Truth shall succeed slowly but steadily |
| |||
| hi ServletLoading: While running your Servlet class,classloader will read the information available in your servlet and places inside classArea(nothing but a memory created by JVM). ServletCreation: There are serval cases in creating servlet object.Genaral case is ,when your browser sends first request to the servlet ,the web-container will create the servlet object. Web-container has the liberty when to create a servlet object and when to destroy it.
__________________ S.VinothkumaR Behind me is infinite power, Before me is Endless Possibility, Around me is Boundless Opportunity, Why should I fear! |
| |||
| When browser make a request container find that the request is for servlet this time container create two object ie request and response this is know as creation ,and then the servlet thread is created and then all the initialization parameter is called this is known as servlet loading
__________________ thanx n regards jeyaprakash.c |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PDF creation using PHP | Senthilkumar | PHP Programming | 4 | 11-27-2007 07:01 AM |
| Can we write Construcror in Servlet? | leoraja8 | Java Programming | 1 | 11-23-2007 09:51 PM |
| How to send data from servlet to javascript variables | Pvinothkumar | HTML, CSS and Javascript Coding Techniques | 0 | 10-09-2007 11:05 PM |
| What is the Servlet Interface? | Arun | Java Programming | 2 | 09-10-2007 04:35 AM |
| How to pass data (including JavaBeans) to a JSP from a servlet? | anbuchezhians | Java Server Pages (JSP) | 1 | 08-01-2007 11:47 PM |