Java programming experience
-
public class MyWindow extends JFrame{ public MyWindow(){ super("Demo Windows"); setDefaultCloseOperation(EXIT_ON_CLOSE); } public static void main(String[] args) { MyWindow ui=new MyWindow(); ui.setSize(400, 300); ui.setLocationRelativeTo(null); ui.setVisible(true); } } 5 .
59p tulip_12 12-01-2013 52 3 Download
-
Declaring and using array Array of objects Sorting and seaching elements in an array Two-dimensional array The ArrayList class 2 .Array • An array is a data structure that stores a collection of
30p batman_1 10-01-2013 58 1 Download
-
Direct start from Web browser: input directly URL of JSP page into Web browser http://servername:8080/JSP/HelloWorld.jsp Start by “Action” attribute of Form tag Start when you push the summitting button on form Start from JSP (or Servlet) : Start by being specified with other JSP files
56p nguyenvanhabk1 04-09-2012 122 16 Download
-
The servlet is constructed, then initialized with the init method. Any calls from clients to the service method are handled. The servlet is taken out of service, then destroyed with the destroy method, then garbage collected and finalized.GenericServlet implements the Servlet and ServletConfig interfaces. It provides simple versions of the lifecycle methods init and destroy and of the methods in the ServletConfig interface.
49p nguyenvanhabk1 04-09-2012 89 10 Download
-
Mechanism to create new classes using existing classes The existing class is called the parent class, or superclass, or base class The derived class is called the child class or subclass As the name implies, the child inherits characteristics of the parent That is, the child class inherits the methods and data defined by the parent class. Once a behavior (method) is defined in a super class, that behavior is automatically inherited by all subclasses
77p nguyenvanhabk1 04-09-2012 79 9 Download