2324252627282930
return Action.SUCCESS; } public String save() { this.service.save(person); this.person = new Person(); return execute(); }
34353637383940414243
em.merge(person); } } public void remove(int id) { Person person = find(id); if (person != null) { em.remove(person); } }