随笔分类 -  JAVA Web

摘要:一、SpringMVC基础入门,创建一个HelloWorld程序 1.首先,导入SpringMVC需要的jar包。 2.添加Web.xml配置文件中关于SpringMVC的配置 <!--configure the setting of springmvcDispatcherServlet and c 阅读全文
posted @ 2017-11-16 20:12 方东信 阅读(403) 评论(0) 推荐(0)
摘要:JavaWeb项目中web.xml有关servlet的基本配置: 我们注意到,tomcat下的conf中也有一个web.xml文件,没错的,所有的JavaWeb项目中web.xml都继承自服务器下的web.xml。 看一下这个web.xml: [html] view plain copy <?xml 阅读全文
posted @ 2017-11-16 18:33 方东信 阅读(2189) 评论(0) 推荐(0)