Today, suddenly I think we should write a blog garden, after a number of years, maybe also a party chiefs, ha ha ha

1: BeanUtils.populate (user, map) directly to the map data storage set into which User object, greatly simplifies the procedure
2: BeanUtils.populate stored data loss occurred phenomenon, for which reason the value jsp the name of the object storage is not the same
3: $ {pageContext.request.contextPath} dynamic access to resources path
4: request.setCharacterEncoding ( "utf-8 ") perfect solution to the problem of Chinese garbled
5: index.html index.jsp and other documents there together when originally thought to call the default browser index.jsp, the result is called index.html, silly everywhere to find a cause, really was a gas to
6: when you call the database into which the data storage User object, If some data is null value, a direct result of the browser 500, although told me the reason, however, is the first experience, can not read English, thought tomcat configuration problem
7:
It was a good thing to remember, just started using, -------- Hen simple, simply to scrape together words ...... ^ - ^
8: three-tier architecture: servlet service dao remember interfaces plus implementation class, to develop the habit

Guess you like

Origin www.cnblogs.com/gang-188/p/11767900.html