Tags:JAVA Questions | 68 views
What is a servlet? Servlets are modules that extend request/response-oriented servers,such as Java-enabled web servers. For example, a servlet might be responsible for taking data in an HTML order-entry form and applying the business logic used to update a company’s order database. Servlets are to servers what applets are to browsers. Unlike applets, however, servlets [...]
Tags:JAVA Questions | 147 views
What is an Applet? Should applets have constructors? – Applets are small programs transferred through Internet, automatically installed and run as part of web-browser. Applets implements functionality of a client. Applet is a dynamic and interactive program that runs inside a Web page displayed by a Java-capable browser. We don’t have the concept of Constructors [...]
Tags:General Question | 194 views
What is meant by Controls and what are different types of controls? – Controls are componenets that allow a user to interact with your application. The AWT supports the following types of controls: Labels Push buttons Check boxes Choice lists Lists Scroll bars Text components These controls are subclasses of Component. Which method of the [...]
Tags:JAVA Questions | 135 views
What is the difference between CGI and Servlet? What is meant by a servlet? What are the types of servlets? What is the difference between 2 types of Servlets? What is the type of method for sending request from HTTP server ? What are the exceptions thrown by Servlets? Why? What is the life cycle [...]