- What is Servlet Chaining ?
- How can we achieve JSP Pagination ?
- How to provide a link to display More Records by using Pagination ?
- Explain Difference between forward and sendRedirect methods ?
- What is ServletContext and ServletConfig ?
- how that xml code will get executed?
- How to disply a String value into a text box using JSP ?
- How to use javaBean in Weblogic server with JSP
- How can I use useBean tag in JSP ?
- Explain JSP LifeCycle?
- Difference between RequestDispatcher and sendRedirect
- How to make a context thread safe?
- How can I enable session tracking for JSP pages if the browser has disabled cookies?
- What are the implicit objects in JSP ?
- Is there a way can I set the inactivity lease period on a per-session basis ?
- How does JSP handle Run-Time Exceptions ?
- How do I prevent the output of my JSP or Servlet pages from being cached by the browser ?
- Can I stop JSP execution while in the midst of processing a request ?
- Is there a way to reference the "this" variable within a JSP page ?
- How do you prevent the Creation of a Session in a JSP Page and why ?
- What is Session tracking and how do you track a user Session in Servlets ?
- What are the types of ServletEngines ?
- What is UserBean and why we are using UserBean in JSP ?
- What is taglib directive ?
- Why we use JSTL in JSP ?
- Explain How Container handle the request ?
- Explain Servlet LifeCycle ?
- When destroy() method called ? Can you explictly called ? if Yes, is there any problem arises ?
- Can I use a constructor instead of init(ServletConfig) ?
- Should I get my DataBase connection in the init() method ?
- What happens if I call destroy() from init() ?
- How many ways to maintain a Session ?
- In which class getSession() method exists ?
- Summarize ServletContext ?
- What is FilterChain ?
- What is PageContext? Describe its advantages ?
- How does the Container handle concurrent requests ?
- what is single Threaded Model ?
- Why use SingleThreadedModel if Servlets are Multi-Threaded ?
- How do I implement the Single Threaded Model ?
- Difference b/w doGet() and doPost() ?
- Difference b/w Generic and HttpServlet ?
- Why we use Beans in JSP ?
- What is a Container ?
- Can we use constructor instead of init(), to initialize the servlet ?
- What is visible and hidden comment in JSP ?
- How Runtime Exception Handled by JSP ?
- Solve the problem while executing servlet on weblogic ?
- How network applications communicate with each other ?
- What is HTTP protocol ?
- How HTTP Protocol works ?
- Which format use client and server to send request and response in HTTP Protocol transaction ? Give Examples ?
- What is a Web Container ?
- What is meant by Web Application ?
- What is meant by URI in client-server transaction ?
- What is meant by CGI ?
- Give brief introduction about Servlet ?
- What is the Servlet job at Server ?
- What is a Servlet ?
- Explain about Servlet architecture ?
- Explain about GenericServlet ?
- Explain about HttpServlet ?
- What are the Life Cycle methods of a Servlet ?
- Explain the Life Cycle methods of a Servlet ?
- What are Filters ?
- Explain LifeCycle of a Servlet ?
- What are the advantages over CGI ?
- What are the advantages of Servlet ?
- How to make Web Application architecture ?
- What is a Deployement Descriptor ?
- How can we deploy our Web Application in Server ?
- When and how the Servlet objects will be created in Server ?
- Can we provide a constructor in a Servlet Class ?
- What the Server will do when a request comes from a Client for a Servlet ?
- How the Web Container manages the Servlets in its container ?
- When the Web Container discard the Servlet instance from Container ?
- How a Servlet can inform to Client Which type of content it is sending ?
- How can a Servlet send an Error message to Client ?
- What is the difference between System.out.println() and PrintWriter.out.println() ?
- Give a small example for Servlet to display Hello...! ?
- How to run a Servlet ?
- How Server responds when request comes from Client ?
- What are the differences between GenericServlet and HttpServlet ?
- How can we instantiate Servlet Whenever Server has started ?
- Why GenericServlet and HttpServlet implement the Serializable interface ?
- What are the interfaces existed in javax.servlet package ?
- Explain about ServletContext ?
- How to get a ServletContext object ?
- What are the methods of ServletContext interface ?
- Explain about Servlet Configuration object ?
- How to get a Servlet Configuration object ?
- What are the methods in Servlet Config interface ?
- What are the differences between Servlet Config and Servlet Context ?
- What are the Init-Parameters and Context-Parameters ?
- How can we retrieve Init-Parameters in our Servlet ?
- How can we retrieve the context parameters in our Servlet ?
- What is the difference between in-process and out-of-process Servlet Containers ?
- Why there are no constructors in Servlets ?
- How can we explicitly unload a Servlet or call the destroy() method ?
- When do we need to call super.init() in init() method of a Servlet ?
- How can we change the port Web Server from one port number to something else ?
- How can we handle HTML forms from a Servlet ?
- How the browser will send the input field values of the form to the Server ?
- How the Servlet will get the values from HTML form entered by the user ?
- What is the difference between GET and POST methods ?
- How to display today date and time using Servlet ?
- How can we count that how many times a Servlet has been accessed ?
- How do I ensure that a servlet is thread-safe ?
- What is a better approach for enabling Thread-safe Servlets and JSPs ?
- How do we call one Servlet from another Servlet ?
- Should we override the service() method ?
- How can an application get to know when a HttpSession is removed (time-outs) ?
- How do we send information and data back and forth between applet and Servlet using the HTTP protocol ?
- Can we get the path of the current Servlet where it lives on the file system ?
- What distinguishes a JavaBean from a Servlet ?
- Can a Servlet maintain a JTA UserTransaction object across multiple Servlet invocations ?
- How to handle multiple concurrent Database requests when using JDBC with Servlets ?
- How do we share Session objects between Servlets and JSP ?
- What is the difference between Servlets and Applets ?
- If we open a single JDBC connection in init() method, is it need to synchronize on the Connection object ?
- How can we determine the name and version of the Servlet Engine ?
- What is the use of the Servlet wrapper classes ?
- What is the difference between a Servlet Session and a Servlet Context ?
- HttpServletRequest is an interface, how do we get an instance ?
- Which is faster, doPost() or doGet() ?
- Must doPost() call doGet() ?
- How can we count how many threads accessing the Servlet object ?
- How can we get the Server information form Servlet ?
- Does the Servlet request contain the source of the Web page ?
- What part of the Java platform do Servlets and JSP belong to ?
- How does the JVM execute a Servlet compared with a regular Java class ?
- How can I write a Servlet using Java Script ?
- Can we include normal Java classes in Servlets ?
- How can I tell when a Servlet is instantiated ?
- What is maximum length of the URL ?
- Give an example to listing all form data in the Browser ?
- How can I display system properties in a Servlet ?
- Can we catch an exception and give our own error message ?
- How do we include files in Servlet ?
- Can we call the doPost() method from a hyperlink ?
- Should we use a static variable or Hashtable to store a list of strings ?
- How can we enable users to upload a file ?
- How do we limit the file upload size?
- How can we get the Headers information form Servlet ?
- Give status codes and their meanings ?
- Can we get the client IP and MAC address ?
- Why are there two different getRequestDispatcher() methods ?
- Why do we get a compilation error with getRequestDispatcher(String) ?
- Should we get Database connection in the init() method ?
- How can we load a Properties file for servlet ?
- What happens if we call destroy() from init() ?
- Why does Servlet give a 404 error ?
- How can we refresh the Servlet for every 2 minutes automatically ?
- What is Request Dispatcher and what its use ?
- How can we get a Request Dispatcher object in our Servlet ?
- What are the methods are there in Request Dispatcher interface ?
- Explain about include method of a Request Dispatcher ?
- Explain about forward() method of the Request Dispatcher ?
- What is a Servlet URL mapping ?
- How can we create Database connections for all Servlets ?
- How do we get the Server port number for redirected requests ?
- Why do we get a compilation error with getRequestDispatcher(String) ?
- What will be happen when we are using include() method in Servlet ?
- What will be happen when we are using forward() method in Servlet ?
- What is the difference between include() and forward() ?
- What is a Servlet chaining ?
- When do we use request scope to share any object between Servlets ?
- What are the methods we use to store and retrieve attributes from request object ?
- Give an example for how to use request scope to store & retrieve sharing object?
- Explain about response.sendRedirect() method ?
- Give an example for response.SendRedirect() ?
- What is difference between forward() and response.sendRedirect() methods ?
- How can we dispatch request to another resource in another Application within the Server using forward() ?
- How Can we invoke other Web resources (Servelt / JSP ) ?
- What is a Servlet Session ?
- Why we need Servlet Session ?
- How can we get the Session object in our Servlet ?
- How can we manage a data specific to user, comes from multiple requests ?
- What are the Hidden Fields, explain ?
- What are the Cookies, explain ?
- How can we determine whether the Session is new or old ?
- Explain about HttpServletRequest.getSession() method ?
- How many ways to maintain/tracking Session ?
- How can we track a Session using Hidden Fields ?
- How can we track a Session using Cookies ?
- How can we track a Session using URL Rewriting ?
- When the web container removes the Session object ?
- How can we set Maximum Inactive Interval for a Session ?
- When do we use Session scope to store sharing object ?
- How can we find whether the Session is already existed for a Client or not ?
- How can we get a Session ID ? Give example ?
- How can we calculate Session Last Accessed Time ?
- How to Insert data from the HTML page to the Database using Servlet ?
- Why we need Thread safe for a Servlet instance ?
- What is a Multithreaded Servlet ?
- What are the problems will face in concurrent access of Multithreaded Servlet ? How can we solve them ?
- What is Single Thread model ? How can we get it ?
- Is it better approach to go for Single thread model ?
- How does the Container handle concurrent requests ?
- Is there is only one Servlet instance for all requests ?
- Why use SingleThreadedModel if Servlets are Multi-Threaded ?
- How can invoke Servlet pooling with SingleThreadedModel ?
- Why does Servlet give a 404 error ?
- What does HTTP status 405, method not supported mean ?
- Can we create a Session with GenericServlet ?
- How can we assemble data from multiple input forms ?
- How do we clean up object references when a Session ends ?
- Are Sessions created on the Server side ?
- How can we recover an expired Session ?
- What are persistent cookies and pre-session cookies ?
- How do we disable a Cookie ?
- How can we pass values between JSPs without using Sessions ?
- How can we check whether a user logged in or not in every page he is visiting ?
- What are the Event Listeners ?
- How many levels of Event Categories ?
- Give Event Listener Categories and related Interfaces ?
- Explain simple Event Listener Scenario ?
- How can we Declare and Invoke Event Listener ?
- How can we make Listener class and Deploy ?
- Explain about ServletContextListener Methods ?
- Explain about ServletContextAttributeListener Methods ?
- Explain about HttpSessionListener Methods ?
- Explain about HttpSessionAttributeListener Methods ?
- Give the template for the ServletContextListener Class ?
- Give the template for the SessionAttributeListener Class ?
- Give Example for Servlet Listener ?
- How to call a Javascript function within Servlet ?
- What is a JSP ?
- How the JSP file will be executed on the Server side ?
- How the JSP will be converted into Servlet object ?
- Shall we provide the information about JSP in web.xml ?
- What is pre-compilation of JSP ?
- What are the JSP Elements ?
- What is a Template text ?
- What are the Scripting Elements ?
- What is JSP Expression ?
- Explian about Scriplet Element ?
- Explain about JSP Declaration ?
- Explain about JSP Directives ?
- What are the Implicit Objects or Predefined Variables ?
- How many types of Directives in JSP ? What are they ?
- Explain about Page Directive in JSP ?
- What is an Include Directive ?
- What is a Taglib Directive ?
- Is it possible to access the implicit variables in declarative element ?
- Can we provide the init() and destroy() methods for JSP ?
- What is the diffrenece between PrintWriter object and JspWriter object ?
- Explain about autoFlush and buffer attributes of Page directive ?
- Explain about JSP architecture ?
- What are the Action tags in JSP ?