Defining the TaskLogHandler class
The TaskLogHandler
class processes the task log actions and is mapped to the /taskLog/
URL pattern:
package com.gieman.tttracker.web; import com.gieman.tttracker.domain.*; import com.gieman.tttracker.service.TaskLogService; import com.gieman.tttracker.vo.Result; import static com.gieman.tttracker.web.SecurityHelper.getSessionUser; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import javax.json.JsonObject; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.propertyeditors.CustomDateEditor; import org.springframework.stereotype.Controller; import org.springframework.web.bind.WebDataBinder; import org.springframework.web.bind.annotation.InitBinder; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web...