???????????й????????????????????о???????????????????????????????????????????????????????????????????????????????Java Web??????……
?????????ε?????????????????????????漰?ü???????????????????????????????????MVC?????????????????????????????????????????????????????????????????????????????????????????????????к?????????????????????????????????????????????????????????????????????????????????????硣
???????????????????????????????????д???????????в????????????????????????????console???log??????????????????????????????????????????????????????????д?????????к???????????????????????????????????????????飬?????????????????????????У??????????????????pass??
????????????????????????????????????????????????????????????????????????·?????????????????????……
????Little thing about the bug
????About the memory leak?? I didn't  have any special feeling before?? except  the books i read usually always say you should  close the file handlers to release the memory resources?? so I do as what the book
????say ?? and havn't had a special understanding  until this final Java Web  project ......
????Because this project should use database?? which involves several tables. To make  a good code  structure?? I used the MVC design pattern. For each data table?? it is abstracted to a separate class to encapsulate deletions ??selections?? updations. Since the operations of each table are the same?? the project is relatively simple?? each class code has a lot of repeat places?? so in order to be easy?? I have not released the database connection handlers in many query functions.Havn't realized this  idleness led to the following tragedy.
????The situation is such that the whole project has basically been finished?? begin testing and found if i open  more webpages?? the project collapsed?? and then I watched to console log?? found that due to the excessive number of database connections?? leading to the collapse of the project?? this time and suddenly realized that he was writing code?? there are a lot did not close the connection?? and then?? in order to amend this error?? each function read it again?? and then release the resources that are freed to run again?? to open the page ?? there is no problem?? all passed.
????The steal a lazy?? did not expect to put on before finally missing complement this type of rework amend?? but one step than direct?? more protracted and painstaking. After or less lazy?? more work ......