414243444546474849
} @Before({AdminInterceptor.class, PostValidator.class}) public void update(){ Post post = getModel(Post.class); post.myUpdate(); redirect("/topic/" + post.get("topicID")); } }
57585960616263646566
} @Before({ UserCheckInterceptor.class, UpdateUserValidator.class }) public void update(){ User user = getModel(User.class); user.myUpdate(); setAttr("user", user); render("/user/user.html"); } }