/**
* 从request得到POJO类.
*/
private ReportSysBug getReportSysBug(HttpServletRequest request) {
ReportSysBug reportSysBug = new ReportSysBug();
String id = (null == request.getParameter("id") ? "" : request
.getParameter("id"));
if (!"".equals(id))
reportSysBug.setId(Long.parseLong(id));
reportSysBug.setContactName((null == request
.getParameter("contactName") ? "" : request
.getParameter("contactName")));
reportSysBug.setContactEmail((null == request
.getParameter("contactEmail") ? "" : request
.getParameter("contactEmail")));
// reportSysBug.setCreateDate((null ==
// request.getParameter("createDate") ? "" : request
// .getParameter("createDate")));//
reportSysBug.setTittle((null == request.getParameter("tittle") ? ""
: request.getParameter("tittle")));
reportSysBug.setBugDesc((null == request.getParameter("bugDesc") ? ""
: request.getParameter("bugDesc")));
reportSysBug.setSuggest((null == request.getParameter("suggest") ? ""
: request.getParameter("suggest")));
return reportSysBug;
}