首先 谢谢大家的帮助实在不好意思 昨天比较忙没上,根据ls的兄弟们的建议修改了一下 基本实现了我的要求,原来一直用javabean处理的东西现在突然想在页面上处理了 由于JS不是很好所以比较狼狈再次谢谢大家 哈哈 这里分享一下这个页面吧,美工不是会好- -<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*,java.util.*, com.git.ajax.*" errorPage="" %>
删除页面
<!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); //--> function f1(o){ Layer2.style.display='none'; var theid = event.srcElement.innerText; document.form1.id1.value = theid ; }
<!-- .style1 {color: #0066FF} .link { position: static; cursor: hand; } -->
<% Vector v = new Vector(); com.git.ajax.bbsDB db = new com.git.ajax.bbsDB(); v = db.get(); Iterator it =v.iterator(); while(it.hasNext()){ bbsbean bean = new bbsbean(); bean = (bbsbean)it.next(); %>
作者:<%=bean.getAuthor()%>
<%=bean.getId()%> <% } %>
用户名:
密 码:
留言ID: