<%@ page language="java" import="java.util.*" contentType="text/html;charset=gb2312"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; String dir=sys.getDir(); %> <% String message = (String)request.getAttribute("message"); if(message == null){ message = ""; } if (!message.trim().equals("")){ out.println(""); } request.removeAttribute("message"); %> <% String username=(String)session.getAttribute("user"); if(username==null){ response.sendRedirect(basePath+"/error.jsp"); } else{ String id=request.getParameter("id").trim(); String content=guestbean.getGuestBook(Integer.parseInt(id)); String replay=guestbean.getReplay(Integer.parseInt(id)); String method="upreplay"; if(replay==null){ replay=""; method="replay"; } %> <%=dir %>/images/MainBg.gif topMargin=0 scroll=no marginheight="0" marginwidth="0">
回复留言
留言内容:
回    复:
  
<%} %>