# HG changeset patch
# User one
# Date 1385415790 -32400
# Node ID f9e29a52efd3fece70a75640c9c9e284cf84e115
# Parent 03bf62bb699e08824141986a8c4860025d23efa2
Move some files
diff -r 03bf62bb699e -r f9e29a52efd3 .classpath
--- a/.classpath Mon Nov 25 18:13:03 2013 +0900
+++ b/.classpath Tue Nov 26 06:43:10 2013 +0900
@@ -1,9 +1,10 @@
edit message
");
- pw.write("
Message
"+msg.getAuthor()+"
"); - _pw.write(""+msg.getMessage()+"
"); - _pw.write("edit"); - } - - _pw.write(""); - _pw.flush(); - } -} diff -r 03bf62bb699e -r f9e29a52efd3 src/jungle/app/bbs/ShowBoardsServlet.java --- a/src/jungle/app/bbs/ShowBoardsServlet.java Mon Nov 25 18:13:03 2013 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,55 +0,0 @@ -package jungle.app.bbs; - -import java.io.PrintWriter; - -import javax.servlet.http.HttpServlet; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; - -public class ShowBoardsServlet extends HttpServlet -{ - /** - * - */ - private static final long serialVersionUID = 1L; - private final BulletinBoard bbs; - private final String createBoardPath; - private final String showBoardMessagePath; - - public ShowBoardsServlet(BulletinBoard _bbs, String _createBoardPath,String _showBoardMessagePath) - { - bbs = _bbs; - createBoardPath = _createBoardPath; - showBoardMessagePath = _showBoardMessagePath; - } - - public void doGet(HttpServletRequest _req,HttpServletResponse _res) - { - try{ - printBoard(_res.getWriter()); - }catch(Exception _e){ - _res.setStatus(500); - } - - } - - private void printBoard(PrintWriter _pw) throws Exception - { - _pw.write("\n"); - _pw.write("BoardName :
\n"); - _pw.write("Author : EditKey :
\n"); - _pw.write("Message
Message
Message
"+msg.getAuthor()+"
"); + _pw.write(""+msg.getMessage()+"
"); + _pw.write("edit"); + } + + _pw.write(""); + _pw.flush(); + } +} diff -r 03bf62bb699e -r f9e29a52efd3 src/main/java/jungle/app/bbs/ShowBoardsServlet.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/java/jungle/app/bbs/ShowBoardsServlet.java Tue Nov 26 06:43:10 2013 +0900 @@ -0,0 +1,55 @@ +package jungle.app.bbs; + +import java.io.PrintWriter; + +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +public class ShowBoardsServlet extends HttpServlet +{ + /** + * + */ + private static final long serialVersionUID = 1L; + private final BulletinBoard bbs; + private final String createBoardPath; + private final String showBoardMessagePath; + + public ShowBoardsServlet(BulletinBoard _bbs, String _createBoardPath,String _showBoardMessagePath) + { + bbs = _bbs; + createBoardPath = _createBoardPath; + showBoardMessagePath = _showBoardMessagePath; + } + + public void doGet(HttpServletRequest _req,HttpServletResponse _res) + { + try{ + printBoard(_res.getWriter()); + }catch(Exception _e){ + _res.setStatus(500); + } + + } + + private void printBoard(PrintWriter _pw) throws Exception + { + _pw.write("\n"); + _pw.write("BoardName :
\n"); + _pw.write("Author : EditKey :
\n"); + _pw.write("Message