`
nelson_tu
  • 浏览: 37620 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
3、创建基于 Maven 的 Web 工程 l  File->New->Web->Dynamic Web Project创建 Web 工程 l  右击Web 工程, Configure->Convert to Maven Project l  指定groupId, , artifactId 和版本号, Packaging 选择 war l  配置pom.xml 文件(前叙)
2、创建 Maven 工程 (1 ) Maven 的仓库配置之 settings.xml (对当前用户的所有工程有效) l  创建指向nexus 私服 public 路径的镜像     <mirrors>         <mirror>             <id>nexus</id>             <mirrorOf>*</mirrorOf>             <url>http://10.1.8.26:8081/nexus/content/groups/p
1、开发环境配置 (1 )安装的软件 l  JDK: jdk-7u9 l  Eclipse: eclipse-jee-juno-SR1-win32 ( J2EE版本) l  Tomcat:: 7.0.33 l  Maven: 3.0.4   (2 ) Java 配置 l 
Spring RMI提供远程调用服务的配置片段:         <property name="appRegistryPort">             <value>8888</value>          </property>         <property name="appServicePort">             <value>8889</value>         </property> 这里,appRegist ...
原因分析:     StringHttpMessageConverter内部使用ISO-8859-1字符集,而不是标准的UTF-8 解决方法:     通过查看Spring的源码,发现可以通过设置属性supportedMediaTypes(位于父抽象类AbstractHttpMessageConverter)来设置字符集为UTF-8 配置内容:     <bean id="stringHttpMessageConverter"         class="org.springframework.http.converter.String ...
Global site tag (gtag.js) - Google Analytics