![]() Related Questions A GET request is a request to get a resource from the server. Choosing GET as the "method" will append all of the data to the URL and it will show up in the URL bar of your browser. The amount Latest Answer : 1) Get is Faster than Post..2) Get Is Idempotent i.e same work can be done again and again without harming database...3) Amount of data send is limited to few characters only and are visible in address bar, so sensitive data cannot be sent via GET. ... destroy() is a servlet life-cycle method called by servlet container to kill the instance of the servlet. The answer to your question is "Yes". You can call destroy() from within the service(). Latest Answer : Yes,we can call destroy method,but it is not recommended to call this method from our code since init(),service(),destroy()'s r servlet lifecycle methods.And in destroy()there will be aconfig variable which will be set to null if we override this ... Latest Answer : The only way to know for sure is to set a cookie on a response, and see ifit comes back on the following request. You have absolutely no clue fromlooking just at the current request. Just as an example, I run Netscape6, configured to warn ... Read Answers (1) | Asked by : venkat While using cookies, when the browser is shut down. will the data be available at next open of browser. If not available, how to over come that. Latest Answer : 20 cookies for per website and 300 cookies per uniqe user, also they can limit each cookie's size to 4096 bytes. ... Latest Answer : In cookies, Session information is stored at client side in a folder called cookie, if the browser is set to cookie disable mode then this approach will not work.In URL rewriting, it is stored within each URL & attached with header. Except then cookies ... Latest Answer : To send data from one web page to another without being shown to the user hidden fields are used.Http Protocol is a stateless protocol hence it does not remember previous request and the variables and it treats each request as the new request. In order ... Read Answers (5) | Asked by : chandra Latest Answer : A Servlet is that portion of your J2EE application which handles ur requets and where the buisness logic is implemented and depending on the request a response object is generated which is sent back to the client.A Servlet container is that portion of ... what is difference between servlet container and servlet config? Latest Answer : servlet container is part of web server which provides run time environment for servlets i.e it manages the entaire life cycle for the servlets like it creates instance,initialization,processing and destroying it. ... What is the Difference Between Web Container and Web Server?(Asked in Polaris Interview , held on April 11, Chennai) Latest Answer : The Webserver: Just Receive the request from the client and forward to Webcontainer, and do the Response vice versa.Web Container: Creates HTTP Request and Response for the Servlet, calls the appropriate servlet service method (doGet or doPost) to service ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||