一級(jí)標(biāo)題
-老師IP 192.168.3.49
-我的IP 192.168.3.21
1.列表
2.列表
-列表2
二級(jí)標(biāo)題
-列表
超鏈接
圖片

image.png

image.png
代碼
hello word
多段代碼
select * from aaa;
select * from bbb;
引用
哈哈哈
表格
| 字段1 | 字段2 | 字段3 |
|---|---|---|
| 1 | a | A |
| 2 | b | B |
| 3 C | c | C |
-- 分割線1111111111111111111111111111111111111111111111111111111
根據(jù)域名查IP
cmd >ping 域名
ping ip(查IP通不通)
查看自己IP
CMD>ipconfig
本機(jī) 127.0.0.1 localhost
tomcat
版本:二進(jìn)制/源代碼
安裝包;windows;zip
linux;tar.gz
mac;dmg
tomcat下載完
bin啟停 startup.bat,startup.sh.
shutdown.bat
conf配置文件(改端口,改編碼,設(shè)置https)
logs日志,catanina.out默認(rèn)日志文件
webapps應(yīng)用

image.png
啟動(dòng),默認(rèn)端口8080

image.png
配置在webapps下(圖片,html)

image.png

image.png
html
編碼
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />--文字編碼
<title>查詢學(xué)生列表</title>--標(biāo)題
</head>
<body>--內(nèi)容
第一個(gè)界面
</body>
</html>
訪問

image.png
alt+shift 可以同時(shí)寫多條

image.png
接口調(diào)用
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>張淵</title>
</head>
<body>
<form action="http://www.guoyasoft.com:8080/guoya-server/studyInfo" method="get">
--action是請(qǐng)求地址 method請(qǐng)求方式 --
方法名:<input type="text" name="method" value="getUrls"></br>
--</br>是換行,type是類型,text是文本--
年齡:<input type="number"></br>-- number是純數(shù)字--
生日:<input type="date"></br> --date日期 --
頭像:<input type="file"></br> -- file文件----
密碼:<input type="psaaword"></br> --password密碼 --
性別:<input type="radio" name="sex">男<input type="radio" name="sex">女
-- radio是選擇框,,submit是按鈕----
<input type ="submit" value="查詢">
</form>
</body>
</html>

image.png