一个简单的备忘录publicvoiddoPost(HttpServletRequestrequest,HttpServletResponseresponse)throwsServletException,IOException{Stringaction=request.getParameter("action");if(action.equals("add")){Memomemo=newMemo();Stringpath=memo.add(request,response);this.dispatch(request,respon