会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
风萧萧路漫漫
这世间有诸多痛楚,诸多不公,只有咬着牙,忍常人所不能忍,才能为常人所不能为。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
44
下一页
2020年3月21日
利用平方差公式快速计算数的平方
摘要: 先上公式 选取合适的b 使a+b与a-b中有一个是10的倍数 例如: 92²=(92+8)(92-8)+8²=100*84+64=8464 77²=(77+7)(77-7)+7²=84*70+49=5929
阅读全文
posted @ 2020-03-21 22:19 风萧萧路漫漫
阅读(1215)
评论(0)
推荐(0)
2020年3月9日
案例:文件下载
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <a href="/day15/img/1.jpg">图片1</a> <a href="/day15/
阅读全文
posted @ 2020-03-09 02:21 风萧萧路漫漫
阅读(191)
评论(0)
推荐(0)
2020年3月8日
tomcat\conf-web.xml
摘要: 是所有项目web.xml的爹,所有项目的web.xml都继承这个web.xml 里面存储了整个mime类型所有的对应关系
阅读全文
posted @ 2020-03-08 09:29 风萧萧路漫漫
阅读(425)
评论(0)
推荐(0)
ServletContext对象
摘要: 1.概念:代表整个web应用(整个web工程),可以和程序的容器(服务器,例如:Tomcat)通信 2.获取 1.通过request对象获取:request.getServletContext(); 2.通过HttpServlet获取:this.getServletContext(); packag
阅读全文
posted @ 2020-03-08 08:38 风萧萧路漫漫
阅读(209)
评论(0)
推荐(0)
2020年3月7日
一直刷新页面
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script> window.onload = function () { var img = document.getEleme
阅读全文
posted @ 2020-03-07 23:22 风萧萧路漫漫
阅读(151)
评论(0)
推荐(0)
2020年3月6日
idea启动Tomcat报错:war exploded: Error during artifact deployment. See server log for details.
摘要: 项目启动不了
阅读全文
posted @ 2020-03-06 10:58 风萧萧路漫漫
阅读(2784)
评论(0)
推荐(0)
想法
摘要: 只要方法正确,你的日积月累,早晚会让别人望尘莫及。 立志要如山,行道要如水,如山能坚定,如水能曲达
阅读全文
posted @ 2020-03-06 09:47 风萧萧路漫漫
阅读(485)
评论(0)
推荐(0)
2020年3月5日
response功能:设置响应消息
摘要: 1.设置响应行 格式:HTTP/1.1 200 ok 设置状态码:setStatus(int sc):传入一个int型的状态码就把状态码设置了 2.设置响应头:setHeader(String name,String value) 响应行+响应头实现重定向 package cn.itcast.web
阅读全文
posted @ 2020-03-05 12:10 风萧萧路漫漫
阅读(4001)
评论(0)
推荐(0)
response原理
摘要:
阅读全文
posted @ 2020-03-05 11:33 风萧萧路漫漫
阅读(149)
评论(0)
推荐(0)
500 (服务器内部异常)Tomcat会把异常展示到页面上
摘要:
阅读全文
posted @ 2020-03-05 10:54 风萧萧路漫漫
阅读(729)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
44
下一页
// 改变博客标题
浏览器标题切换
浏览器标题切换end