public ActionForward addMessage(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
HttpServletResponse response) throws Exception {
try {
JSONObject jsonObject = readJson(request);
Talk talk = (Talk) JSONObject.toBean(jsonObject, Talk.class);
talk.setUser(UserUtil.getUserFromSession(request));
talk.setMsgDate(new Timestamp(System.currentTimeMillis()));
getBaseManager().save(talk);
print(response, RESBONSE_SUCCESS);
} catch (Exception e) {
e.printStackTrace();
print(response, RESBONSE_ERROR);