zoukankan
html css js c++ java
01web开发相关概念与常见web服务器
import java.io.*; import java.net.*; public class Server { public static void main(String args[]) throws Exception{ ServerSocket server = new ServerSocket(9999); Socket sock = server.accept(); FileInputStream in = new FileInputStream("E:\\Html\\在网页中插入图片.html"); OutputStream out = sock.getOutputStream(); int len = 0; byte buffer[] = new byte[1024]; while((len=in.read(buffer))> 0){ out.write(buffer,0,len); } in.close(); out.close(); sock.close(); server.close(); } }
基于http协议 80
tomcat是 8080
查看全文
相关阅读:
Goroutines和Channels(一)
数据库索引
查看文件命令
Django本地开发,debug模式引用静态文件
Django部署生产环境,静态文件不能访问404,以及图片不能访问403
js 捕获浏览器后退事件
win10,python3.6,django2.0.3,项目基本命令
win10,配置python3.6,虚拟环境
c代码,输出i,j,k互不相同的三位数
c语言关键字的区分
原文地址:https://www.cnblogs.com/firecode/p/2460915.html
最新文章
安装sudo apt-get install nautilus-open-terminal , 出现" Unable to locate package nautilus-open-terminal"
linux 多进程fork
c++
ros 启动launch文件,附带参数
ubuntu14.04上 nginx启动停止
nginx 80 端口默认被占用
django 接口编写的配置
django 接口
AttributeError: 'Request' object has no attribute 'json', cherrypy 无法接收到json字符串,解决方法
python 将列表中的字符串转为数字
热门文章
nginx 跨域解决
WARNING: The file has been changed since reading it!!! Do you really want to write to it (y/n)?
cartographer安装--Ubuntu14.04--indigo
gcc 编译出现 internal compiler error: Killed
rostopic 命令
ubuntu16.04上安装ros-kinetic
Goroutines和Channels(五)
Goroutines和Channels(四)
Goroutines和Channels(三)
Goroutines和Channels(二)
Copyright © 2011-2022 走看看