How mbk1991/first_freeboard works
This is a small Java Servlet/JSP bulletin board. Users open the post list, view a selected post, or submit a new post; servlets coordinate DAO operations and forward data to JSP views. The README documents the three views and their routes. The sampled sources show MySQL access and the shared post model; JSP internals and route configuration were not sampled, so view interactions beyond the documented flow are not inferred.
Main entry points: BoardDao.java Board DAO · MainServlet.java List handler · InsertServlet.java Create handler · ContentServlet.java Detail handler
Components 10
Web requests
- List handler
MainServlet.java - Create handler
InsertServlet.java - Detail handler
ContentServlet.java - Post list
BoardMain.jsp - Post form
BoardInsert.jsp - Post detail
BoardContent.jsp
Board operations
- Post model
BoardVo.java
Persistence
- Board DAO
BoardDao.java - MySQL board
Other components
- Visitor
Connections 11
- Visitor → List handler: opens list
README.md - Visitor → Create handler: opens form
README.md - Visitor → Detail handler: opens post
README.md - List handler → Board DAO: loads posts
MainServlet.java - List handler → Post list: forwards list
MainServlet.java - Create handler → Post form: forwards form
InsertServlet.java - Create handler → Board DAO: saves post
InsertServlet.java - Detail handler → Board DAO: loads post
ContentServlet.java - Detail handler → Post detail: forwards post
ContentServlet.java - Board DAO → MySQL board: queries and writes
BoardDao.java - Board DAO → Post model: maps posts
BoardDao.java