IDEA配置Tomcat
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.
IDEA配置Tomcat
推荐 原创📦个人主页: 楠羽
🏆简介:一个大二的科班出身的,主要研究Java后端开发
⏰座右铭:成功之前我们要做应该做的事情,成功之后才能做我们喜欢的事
💕 过客的你,可以给博主留下一个小小的关注吗?这是给博主最大的支持。以后博主会更新大量的优质的作品!!!!
Tomcat:
开源免费,是sun公司领头开发的一款轻量级服务器。
版本匹配:
Tomcat部署项目
控制台乱码去conf下的loggin.properties的文件中(默认UTF-8)修改字符集(GBK),就可以解决控制台乱码问题,
linux安装Tomcat
IDEA创建JavaWeb
项目目录:
web项目配置tomcat
Tomcat的配置文件
Tomcat配置虚拟目录
加入标签<Context path=“/虚拟目录” docBase=“d:/真实目录”/>
Tomcat配置虚拟路径
是否自动解压、发布:true
IDEA中创建Maven Web项目
使用骨架创建目录
需要手动添加Java,resource包
不使用骨架创建目录
需要手动添加目录webapp
IDEA部署Tomcat
在HTML里面有配置
IDEA插件Tomcat:
- 赞
- 收藏
- 评论
- 分享
- 举报
上一篇:mysql基础
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK