框架问题 兄弟姐妹,我想做一个类似qq游戏的框架,但是自己又没用过框架,不会用,所以请各位帮帮忙,非常感谢框架分为上中下,而中间又分为左右两部分,中间的就类似qq游戏了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 用frameset或是iframe 去网上搜范例代码即可 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>框架</title></head><frameset rows="80,*,80" frameborder="no" border="1" > <frame src="top.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" /> <frameset rows="*" cols="*,900" framespacing="0" frameborder="no" border="0"> <frame src="left.html" name="mainLeftFrame" scrolling="no" noresize="noresize" id="mainLeftFrame" title="mainLeftFrame" /> <frame src="right.html" name="mainRightFrame" scrolling="no" noresize="noresize" id="mainRightFrame" title="mainRightFrame"/> </frameset> <frame src="bottom.html" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" title="bottomFrame" /></frameset><noframes><body></body></noframes></html> 用frame和iframe都可以<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%><%String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html> <head> <base href="<%=basePath%>"> <title>框架</title> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="0"> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="This is my page"> <!-- <link rel="stylesheet" type="text/css" href="styles.css"> --> </head> <frameset rows="50,*" > <frame src="topic.jsp" noresize="noresize" > <frameset cols="210,*"> <frame id="liftFrame" noresize="noresize" name="liftFrame" src="leftTree.jsp"> <frame id="contentFrame" name="contentFrame" src="main.jsp"> </frameset> </frameset></html> frameset主框架iframe小容器组成不同框架啥 你要做成B/s的还是c/s的?c/s的话还是用swing吧 JSP网页用session传递字符串的问题 让type=text里面的值只能输入数字不能输入字母和中文的JS语法要怎么写啊 只有十分了,请大家帮帮忙,谢谢! 急~!多谢大侠~!TOMCAT中配置JNDI 如何實現自動填充web頁面中的文本框 想得到JSP内建对象的详细资料(out,request,session,pageContext...),最好是电子书籍! 急需~~~~有关搜索的问题··· 为什么下载超过1M大小的文件,这个文件就会损坏? 用jsp做一个网站的步骤和所要用到的技术,请哪位大哥讲讲! 为什么不调用本机程序,而是直接用IE打开呢?JSP页面的问题 错误 关于标签
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>框架</title>
</head><frameset rows="80,*,80" frameborder="no" border="1" >
<frame src="top.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" />
<frameset rows="*" cols="*,900" framespacing="0" frameborder="no" border="0">
<frame src="left.html" name="mainLeftFrame" scrolling="no" noresize="noresize" id="mainLeftFrame" title="mainLeftFrame" />
<frame src="right.html" name="mainRightFrame" scrolling="no" noresize="noresize" id="mainRightFrame" title="mainRightFrame"/>
</frameset>
<frame src="bottom.html" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" title="bottomFrame" />
</frameset>
<noframes><body>
</body>
</noframes>
</html>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>框架</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<frameset rows="50,*" >
<frame src="topic.jsp" noresize="noresize" >
<frameset cols="210,*">
<frame id="liftFrame" noresize="noresize" name="liftFrame" src="leftTree.jsp">
<frame id="contentFrame" name="contentFrame" src="main.jsp">
</frameset>
</frameset></html>