![]() Related Questions GenericServlet is for servlets that might not use HTTP, like for instance FTP service.As of only Http is implemented completely in HttpServlet. The GenericServlet has a service() method that gets called Latest Answer : HttpServlet is a specific case/implementation of GenericServlet.Thanks,Vinay ... 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. ... Both are interfaces. The servlet engine implements the ServletConfig interface in order to pass configuration information to a servlet. The server passes an object that implements the ServletConfig interface Latest Answer : ServletContext and ServletConfig are the interfaces provided by java class in servlet API.The vendors of web containers(WC) provides the classes implementing these interfaces.It is the responsiblity of web container(WC) to create ServletContext and ServletConfig ... Yes. Because your JSP is just a servlet method, you can just put (whereever necessary) a < % return; % > Latest Answer : I can see, the jsp:forward line did dissapear after your editing.....It should read: If you want a solution similar to the Coldfusion , then do the following: Create a page called exit.jsp etc. with only this content: ... setContentType() method must be set before transmitting the actual document. Latest Answer : response.setContentType("text/hthl"); line before PrintWriter line. ... An HTTP Servlet handles client requests through its service method. The service method supports standard HTTP client requests by dispatching each request to a method designed to handle that request. Latest Answer : hi,by using the http methods like get,post etc .to maintain the conversional state of the client by using session tracking,cookie ,hidden techniques,the servlet wii be handle the requests.bye ... 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 RequestDispatcher.include(req, resp) is used to add a jsp to the servlet. ... Read Answers (1) | Asked by : sushma Latest Answer : Yes. We can override.The init(ServletConfig) method is defined in the Servlet
interface. It has been implemented by the GenericServlet class. The
implementation of this init method in the GenericServlet just stores the
ServletConfig object in some ... How to get value from init() method in servlet? orhow to get initializaion time values from init() in servlet? plz ans !!!!!!!!!!!!!!!!!!! Read Answers (12) | Asked by : raj
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||