
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
1.连接mySql,文件配置如下:<!DOCTYPE hibernate-configuration PUBLIC"-//Hibernate/Hibernate Configuration DTD 3.0//EN""http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">jdbc:mysql:
web.xml文件配置如下:org.springframework.web.context.ContextLoaderListenerspringmvcorg.springframework.web.servlet.DispatcherServletcontextConfigLocationclasspath:spring-ser
在某个servlet中,有时我们可能要使用到某个定值,比如说ip,如果直接在servlet中写ip,当ip发生变化时,就需要从新编译。解决方法是将ip这个的值配置web.xml中。配置如下:(结合上一篇的配置)testServletcom.zhongqian.servlet.TestServletadminEmail253503125@qq.
结合springmvc学习(一)和(二),我们可以让服务器启动时,首先访问hello.jsp,然后页面提交后到TestController中,接着返回到hello.jsp页面。项目结构如下:配置如下:①web.xml中配置如下:dispatcherServletorg.springframework.web.servlet.Dispatche







