jsp 傻瓜布局

来源:互联网 发布:js如何获取鼠标位置 编辑:程序博客网 时间:2024/06/05 09:27
<%@ 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 XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>AAAAA</title>
 
</head>
<frameset rows="13%,*,6%"  frameborder="no" marginWidth=0 marginHeight=0 scrolling=no border="0">
                <frame src="<%=basePath%>/main/JGtop.jsp"/>
                     <frameset cols="20%,*" >
                           <frame src="<%=basePath%>/main/JGleft.jsp"/> 
                        <frame src="<%=basePath%>/main/main.jsp"/>
                </frameset>    
                <frame src="<%=basePath%>/main/JGbottom.jsp" />
 
 
                 <body >                 
                  <p></p>                  
                 </body>                 
</frameset><noframes></noframes>
</html>
0 0
原创粉丝点击