
<%@ page language="java" contentType="text/html; charset=GBK"%>

<%
  String mainPage=(String)request.getAttribute("mainPage");//获取要加载页面的文件名
  if(mainPage==null||mainPage.equals(""))
	  mainPage="default.jsp";//指定默认加载页面的文件为default.jsp
%>

<html>
<head>
  <title>52同城信息网</title>
  <link type="text/css" rel="stylesheet" href="css/style.css">
</head>
<body background="images/back.gif">
    <center>
        <table border="0" width="920" cellspacing="0" cellpadding="0" bgcolor="white">
            <tr><td colspan="2"><jsp:include page="top.jsp"/></td></tr>
            <tr>
                <td width="230" valign="top" align="center"><jsp:include page="left.jsp"/></td>
                <td width="690" height="400" align="center" valign="top" bgcolor="#FFFFFF"><jsp:include page="<%=mainPage%>"/></td>
            </tr>
            <tr><td colspan="2"><jsp:include page="end.jsp"/></td></tr>
        </table>        
    </center>
</body>
</html>