@PathVariable("id") int msgid,
@RequestParam(value = "page", defaultValue = "0") int page,
HttpServletRequest request
) throws Exception {
Topic topic = topicDao.getById(msgid);
Group group = groupDao.getGroup(topic.getGroupId());
Section section = sectionService.getSection(group.getSectionId());
if (!section.getUrlName().equals(sectionName)
|| !group.getUrlName().equals(groupName)
|| page<0 ) {
throw new MessageNotFoundException(msgid);
}
permissionService.checkView(group, topic, AuthUtil.getCurrentUser(), false);