⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 user story - saveforumnametoxml.txt

📁 Chinaxp 论坛源代码
💻 TXT
字号:
Story:    Save forum name to forums.xml    具体说明:    在 xforum 开始开发时,为简单起见,将 forum name hardcode into html file : header.jsp ..    现在准备将 forum name 存放到 xml 文件 中Working Items:    ok.spike: learn to use dom api to access xml files    ok.create forums.xml    ok.add class Forum    ok.add interface ForumDAO    ok.add class ForumDAOXml, add method:       public Forum getForum( final int forumID )       public Forum[] getForumCategory()    ok.write class ForumDAOXmlTest, add test:        testGetForumName       testGetForumCategory    ok.modify DAOFactory, add method : getForumDAO()    ok.modify DAOFactory, add method: buildForumDAO(String filename)    ok.modify ForumActionServlet, build ForumDAO after construct DAOFactory    ok.modify jsp/content/header.jsp, 修改后的输出效果和原来的页面一样    ok.modify jsp/content/forumListContent.jsp, 修改后的输出效果和原来的页面一样    ok.modify jsp/content/postThread.jsp,里面的 forumCategory    ok.modify jsp/content/navbar.jsp,里面的 ForumUtils    ok.modify jsp/content/thread.jsp,里面的 ForumUtils    ok.modify jsp/content/viewForumContent.jsp,里面的 ForumUtils    ok.remove jsp/content/editThread.jsp,里面的 ForumUtils    ok.write forums.dtd, use XMLParser to validate the xml fileproblem:  用一层的 forum 还是两层的 forum: 用一层  如何处理“技术论坛”,是否可以去掉,回答不行。:)  Forum 信息一直存放在内存中(singleton),还是每次调用时读取? 存放在内存中  DaoFactory 只有一个: MysqlDAOFactory(),但是 ForumDAO 的实现在 XML,如何处理other:    .fix problem on myclasspath in build.xml    .fix problem when use ant test with jdk 1.4

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -