More Questions on Servlet
How will you pass values from HTML to the servlet? Can you use System.exit in your servlet end code? If my browser does not support Cook...
How will you pass values from HTML to the servlet? Can you use System.exit in your servlet end code? If my browser does not support Cook...
Here I go with the list of questions on Servlets and JSPs .All answers open in a new window, so in order to get back to the list of question...
As HTTP is a stateless protocol, any interaction between client browser and servlet lasts as long as the browser is connected to server and ...
The communication between an Applet and Servlet can occur through 'Http Tunneling' with Object serialization.It is technique through...
SingleThreadModel interface once implemented makes a servlet thread safe,though not in complete sense.It ensures that servlet handles only ...
encodeURL is used for all URLs in a servlet's output. It helps session ids to be encoded with the URL. Moreover it rewrites URLs relati...
In such scenario, browser will not accept incoming cookie. Whenever the browser sends the new request,it will not send the session id to ser...
All the best...just kidding. The answer is big 'No'. At best, you'll get a security exception.At worst, you'll make the se...
The values from an HTML page are passed to a servlet either through a GET or POST method. In a servlet, request.getParameter ("strParam...
In order to support HTTP session states, all servlet session data must be serializable. Moreover, s ervlets need to communicate over the ne...
A GET or POST request is sent to servlet in order to expedite the request by calling corresponding doGet() and doPost() methods. doGet is ca...
GenericServlet is an abstract class that defines a generic, protocol-independent servlet.Any protocol dependent servlet has to extend this c...
A web client makes a request to a web server over HTTP. As long as a client interacts with the server through a browser on his or her machin...
A ServletContext interface empowers a servlet to view its environment. A servlet can use this interface to get following informations: - In...
A servlet is just like an applet in the respect that it has an init() method that acts as a constrcutor. Since the servlet environment takes...
It is important to note that there can be more than one instance of a given Servlet class in the servlet container. For example, this can oc...
In traditional CGI, a new process is started with each client request and this will correspond to initiating a heavy OS level process each t...
The Servlets are server side java programs, which are used to generate dynamic web content for a web clients. They reside inside a servlet c...