我要做个页面,左边放一列按钮,点击按钮读数据库在右边显示不同的页面或数据,这个页面怎么写?JSP
解决方案 »
- 请教关于后台弹出页面无法遮蔽全屏的问题(artdialog)
- 想给display:table的分页添加样式,在哪儿修改啊?
- 关于Myeclipse 跟tomcat的问题
- spring中的jms使用
- 请帮忙看看,谢谢
- 遇到一个很棘手的问题,关于hibernate的,请达人解答啊
- 50分求STRUTS登录验证的全源代码!
- 如何写包含多个checkbox的表单对应的ActionForm?
- struts中的session问题,在线等。不要不理我!!!!!!!!!
- 我的javax下面怎么没有ejb这个包,我的jb6是最大安装
- 一表多字段数据映射
- spring aop:aspectj-autoproxy错误 高手指教
如果不刷新页面的话,楼主可以用ajax实现,挺简单的。
1、用Ajax动态更新(要求对ajax有概念)
2、用iframe,
3、用frameset
<html>
<head>
<title>后台管理系统</title>
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
</head>
<frameset rows="93,*" cols="*" frameborder="yes" border="0px" bordercolor="#0970BB" framespacing="0px">
<frame src="/qiyueOA/frame/top.jsp" name="topFrame" noresize="noresize" bordercolor="#0970BB" scrolling="No" id="topFrame" title="topFrame" />
<frameset cols="213,*" frameborder="yes" border="0px" framespacing="0px" bordercolor="#0970BB">
<frame src="/qiyueOA/frame/menu_left.jsp" name="leftFrame" noresize="noresize" scrolling="No" id="leftFrame" title="leftFrame" bordercolor="#0970BB" />
<frame src="/qiyueOA/frame/con_center.jsp" name="mainFrame" noresize="noresize" id="mainFrame" title="mainFrame" />
</frameset>
</frameset>
</html>这是页面的结构 上边是logo 左边是菜单列表 右边是 不同菜单对应的内容显示区域
菜单按键对应的链接要指到所要显示的页面区域
<a href="<%=path %>/work/SendEmail_execute" target="mainFrame">发送邮件</a>
pageEncoding="GB18030"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>Insert title here</title>
</head>
<body><frameset rows="50%,50%"><frame src="/MailManagement/jsp/head.jsp" /><frameset cols="25%,75%">
<frame src="/MailManagement/jsp/button.jsp">
<frame src="/MailManagement/jsp/content.jsp">
</frameset></frameset>
</body>
</html>我这么写,为什么就不行呢,那几个页面都是简单页面,但是浏览器上一片空白,求解 ~~~~