Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try {
- JForumTopic topic = userForumDao.findArticleTitle(title);
- if (title.equals(topic.getTopicTitle())) {
- log.debug("topic istnieje: " + title);
- redirect(response, topic.getTopicID());
- } else {
- log.debug("Tworzymy temat: " + title);
- Long topicid = createNewArticleTopic(title);
- redirect(response, topicid);
- createTopicURL(urlTitle);
- }
- } catch (Exception e) {
- e.printStackTrace();
- }
Add Comment
Please, Sign In to add comment