How many Request, Response & session instance you can create for N number of uesr request from a. user request from same userb. user request from diffrent user
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 ...
Latest Answer: Request Dispatcher - Dispatch the request to some other JSP or Servlet, user will not aware of this and finally response will go from where the request is dispatched.Request Redirect - Redirect request where user will find URL change and ...
Latest Answer: You can use the following code to determine whether the thread in which your code is getting executed is daemon or not.if(Thread.currentThread().isDaemon()) { //logic to execute if daemon.} else { ...
Latest Answer: Using this method is pretty straight-forward. BUt there is a simple catch: No data should be committed to the servlet output stream before the redirection occurs.In case data has been committed and then redirection is forced, an IllegalStateException ...
Latest Answer: if we made some chage in web.xml and chang reflect in progm wdout server restrt thn its called hot deployment ...
Latest Answer: Web server is not that much intelligent to handle requests where dynamic data to be inserted. In this case, Web servers need helper classes to accomlish the same. CGI is also widely used like Servlets. But it is having some limitations such as, Heavy ...
Latest Answer: The use of the SingleThreadModel interface guarantees that only one thread at a time will execute in a given servlet instance’s service method. It is important to note that this guarantee only applies to each servlet instance, since the container may ...
Explain about Inter-Servlet communication and business reason for using Inter-Servlet communication
Latest Answer: 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 private variable ...
View page << Previous 1 2 [3] 4 5 6 7 8 9 10 Next >>

Go Top