问个小问题. 我以前没有html开发经验. 一个嵌入式服务器需要用到简单的web server. 我参考
<html>
<frameset cols="120,*">
<frame src="/example/html/html_contents.html">
<frame src="/example/html/frame_a.html" name="showframe">
</frameset>
</html>
我的问题是, 这种界面html文件一般由几个组成. 我在没有操作系统只有tcp/ip协议的单片机中如何实现?
回复讨论(解决方案)3个html文件,其中html_contents.html和frame_a.html嵌在最外层页面内。
单片机中你要自己试试了,我不能保证frame能正常显示。。。
我再单片机中运行这个web server调试时候, 出现一个问题.
windowsxp的ie每次都是在收到这个框架html后,马上读html_contents.html文件. 然后要等2秒左右才去读frame_a.html文件数据,导致一先显示html_contents.html界面后2秒才显示frame_a; 而我用手机的uc流缆器登陆单片机web server时候是连续读html_contents.html及frame_a.html文件数据, 用户没有任何停顿感.
ie浏览器对于 同一个域名 同时访问的连接的限制 貌似是 2个连接
那我看到其他网站或其他服务器做的界面和我的差不多, 但ie几乎是同时显示两个html界面. 我的嵌入式服务器软件处理应该注意什么