4

IDEA配置Tomcat

 2 years ago
source link: https://blog.51cto.com/u_15748182/5639842
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

IDEA配置Tomcat

推荐 原创

紫轩蝶泪 2022-09-01 07:04:51 博主文章分类:java ©著作权

文章标签 插入图片 tomcat ide 文章分类 MySQL 数据库 yyds干货盘点 阅读数251

📦个人主页: 楠羽

🏆简介:一个大二的科班出身的,主要研究Java后端开发

⏰座右铭:成功之前我们要做应该做的事情,成功之后才能做我们喜欢的事

💕 过客的你,可以给博主留下一个小小的关注吗?这是给博主最大的支持。以后博主会更新大量的优质的作品!!!!

Tomcat:

开源免费,是sun公司领头开发的一款轻量级服务器。

版本匹配:

IDEA配置Tomcat_ide
IDEA配置Tomcat_tomcat_02
IDEA配置Tomcat_tomcat_03
IDEA配置Tomcat_ide_04

Tomcat部署项目

IDEA配置Tomcat_插入图片_05

控制台乱码去conf下的loggin.properties的文件中(默认UTF-8)修改字符集(GBK),就可以解决控制台乱码问题,

linux安装Tomcat

IDEA配置Tomcat_tomcat_06

IDEA创建JavaWeb

项目目录:
IDEA配置Tomcat_插入图片_07
web项目配置tomcat
IDEA配置Tomcat_插入图片_08

Tomcat的配置文件

IDEA配置Tomcat_ide_09

Tomcat配置虚拟目录

IDEA配置Tomcat_插入图片_10

加入标签<Context path=“/虚拟目录” docBase=“d:/真实目录”/>

Tomcat配置虚拟路径

IDEA配置Tomcat_tomcat_11

是否自动解压、发布:true

IDEA中创建Maven Web项目

IDEA配置Tomcat_ide_12
使用骨架创建目录

需要手动添加Java,resource包

IDEA配置Tomcat_插入图片_13
不使用骨架创建目录

需要手动添加目录webapp

IDEA配置Tomcat_ide_14

IDEA部署Tomcat

IDEA配置Tomcat_ide_15

在HTML里面有配置

IDEA插件Tomcat:

IDEA配置Tomcat_ide_16
  • 收藏
  • 评论
  • 分享
  • 举报

上一篇:mysql基础


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK