implementasi login page dengan menggunakan zkoss Server side. * Zkoss sebagai Frontend on server side * Java Spring sebagai Middle * mysql database Membuat model User.java di dalam package vyn.spring.model;
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
package vyn.spring.model; public class User { private int id; private String username; private String password; public User(){} public int getId() { return id; } public void setId(int id) { this.id = id; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } } [/code] membuat item.java [code] package vyn.spring.model; public class Item { private int id; private int userId; private String name; private String phone; private String email; public Item(){} public int getId() { return id; } public void setId(int id) { this.id = id; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getPhone() { return phone; } public void setPhone(String phone) { this.phone = phone; } public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } } |
to be continue
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
package vyn.spring.model; public class User { private int id; private String username; private String password; public User(){} public int getId() { return id; } public void setId(int id) { this.id = id; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } } |
Recent Comments
thanks for share this is what I am looking for
see more >>
It was really nice idea, simple and clean and thanks for your sug
see more >>
Hi viyancs, Thanks for this guide. I've done the same but in a c
see more >>
thanks for your feedback, i just miss configure of code highlight
see more >>
Hi, could you please fix the source doce in the boxes? It's full
see more >>