1. Create new project cth : STAFF
2. Create new source folder cth : src
3. Create new package (atau folder di bawah src) cth : action
4. Create new class cth : HelloServlet
--- satu object akan dicipta di bawah package action iaitu HelloServlet.java
package action;
public class HelloServlet {
public static void main (String[] args) {
System.out.println("Hello...");
}
}
5. Run this class as Java Application
No comments:
Post a Comment