- 博客(2)
- 收藏
- 关注
原创 include() jsp文件 中文乱码
自定义标签中使用include()包含jsp文件,中文乱码试了很多办法,各种改编码方式 都没有用给每个jsp文件设置contentType调用HttpRespone的setContentType方法resp.setContentType("text/html;charset=UTF-8");在自定义标签类中修改字符串编码方式pageContext.include(new String(parameter.getValue().getBytes("ISO-8859-1"),"UTF
2022-01-28 16:51:13
869
原创 IDEA部署web项目Warning: No artifacts configured
IDEA部署web项目Warning:No artifacts configured.在IDEA中配置Tomcat时,出现警告:Warning: No artifacts configured解决方法右击项目名称 → Add Framework Support勾选Web Application打开Run/Debug Configurations 页面 ,点击Deployment,点击 + 号,选中Artifact ,最后Apply即可。注:步骤1必须在步骤3前面,不然点 + 号不会
2022-01-26 16:28:43
760
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人