use of com.nixmash.blog.jpa.dto.PostQueryDTO in project nixmash-blog by mintster.
the class PostsController method searchPage.
@RequestMapping(value = "/search", method = GET)
public String searchPage(Model model, HttpServletRequest request) {
model.addAttribute("postQueryDTO", new PostQueryDTO());
model.addAttribute("isSearchResult", false);
WebUtils.setSessionAttribute(request, SESSION_POSTQUERYDTO, null);
return POSTS_SEARCH_VIEW;
}
Aggregations