问题描述 tomcat9启动后会有中文乱码,比如控制台乱码: startup.bat启动时乱码: 解决方法 打开“/apache-tomcat-9.0.20/conf/logging.properties”文件 把java.util.logging.ConsoleHandler.encoding = ...
分类:
其他好文 时间:
2020-05-09 14:15:47
阅读次数:
69
一、配置安装Apache1、解压好之后,修改Apache/conf/httpd.conf的配置文件(两处)Define SRVROOT "/Apache24"#Listen 80eg.:这里我把端口修改为8800为例,默认的80端口我有其他的在用2、把Apache配置成windows服务进入到Apa ...
交换空间太小,使用dd的方式扩展2G空间。 ubuntu@ubuntu-42:/usr/local/tomcat$ free -h total used free shared buff/cache available Mem: 7.6G 6.0G 855M 13M 765M 1.3G Swap: ...
分类:
其他好文 时间:
2020-05-09 00:43:48
阅读次数:
63
application.properties server.port=8080 server.tomcat.max-connections=10000 server.tomcat.max-threads=10000 # redis配置 spring.redis.host=172.16.16.175 ...
分类:
移动开发 时间:
2020-05-08 20:06:59
阅读次数:
101
1.Tomcat的下载与安装 (1)下载Tomcat 官网地址:http://tomcat.apache.org/whichversion.html (2)安装Tomcat Tomcat有安装版和解压版(绿色版) 安装版以.exe形式的安装包,双击安装到我们的电脑上,用的比较少 解压版,即绿色版,解 ...
分类:
其他好文 时间:
2020-05-08 18:32:47
阅读次数:
51
1.准备jdk,tomcat,我用的是jdk-8u221-linux-x64.tar.gz,apache-tomcat-8.5.54.tar.gz 2.查看系统是多少位的 ,我的是center os7是64位 [root@localhost bin]# getconf LONG_BIT 3.创建jd ...
分类:
系统相关 时间:
2020-05-08 16:40:06
阅读次数:
81
1 ServletRequestAttributes att=(ServletRequestAttributes)RequestContextHolder.getRequestAttributes(); HttpServletRequest request = att.getRequest(); r ...
分类:
移动开发 时间:
2020-05-08 16:19:14
阅读次数:
70
springboot因为是内置tomcat,所以在访问项目时无需再端口后添加项目名称,如果想要添加项目名称则需要在配置文件中添加server.context-path=/XXXXXXX;如果不起作用,是因为使用了更高版本的springboot,在新的版本中配置需改为server.servlet.co ...
分类:
编程语言 时间:
2020-05-08 15:54:44
阅读次数:
88
JavaWeb篇——部署在Tomcat上的JavaWeb应用中文乱码问题 关于中文乱码: 首先,在JSP页面上输出中文,请求页面后不出现乱码的前提是: 其次,服务器在接收请求时使用的默认编码为ISO 8859 1 补充说明: 对于POST 请求:只要在获取请求信息之前,在调用request的getP ...
分类:
编程语言 时间:
2020-05-08 12:45:02
阅读次数:
73
我这里用的是 tomcat ,需配置 JDK 环境,然后给 Jenkins 发送密钥对。 [root@tomcat ~]# tar xf apache-tomcat-8.5.16.tar.gz [root@tomcat ~]# tar xf jdk-8u191-linux-x64.tar.gz [r ...
分类:
其他好文 时间:
2020-05-08 11:25:24
阅读次数:
84