Spring中的JPetStore源码分析(二)
现在,明白了jpetstore到底是干什么的了,就是一个简易的电子购物网站,这不过是买的是宠物,呵呵。
?
然后,开始都源代码了。
?
首先,当然是web.xml了。
?
首先是
?
然后看 servlet mapping:
<welcome-file-list><welcome-file>index.html</welcome-file></welcome-file-list>?
也就是首页了,这个简单明了。好了,磕磕碰碰,总算是把 web.xml 读了个大概。
?
?
?
?
?
?
?
?
?
?
?
?
?