袁奇生

To always face my adversity head on.

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2020年2月23日

摘要: 1、设置JSP文件的编码(jsp文件中的pageEncoding): 2、设置浏览器读取jsp文件的编码(jap文件中content属性): 3、文本编码, (1)统一设置(推荐) (2)设置某一个项目 (3)设置设置单独的文件 注:tomcat8以后默认的字符集是UTF-8 在代码里凡是get提交 阅读全文
posted @ 2020-02-23 17:04 逼近精进 阅读(305) 评论(0) 推荐(0) 编辑

摘要: 修改路径:右键点击创建的jsp页面 >Build Path >Configure Build Path > Libraries >Add Libraries >Server Runtime >next >finish 阅读全文
posted @ 2020-02-23 16:19 逼近精进 阅读(372) 评论(0) 推荐(0) 编辑

摘要: 方式一: 将web项目配置到webapps以外的目录 在conf/server.xml中配置,找到<host>标签,<Content docBase="E:\yqs\JspProject" path=“/JspProject” />,docBase是实际路径,path是虚拟路径(相对于webapps 阅读全文
posted @ 2020-02-23 00:02 逼近精进 阅读(467) 评论(0) 推荐(0) 编辑