<%@ page language="java" import="java.util.*" contentType="text/html;charset=gb2312"%> <%@ page language="java" import="com.fredck.FCKeditor.*" %> <%@ taglib uri="/WEB-INF/FCKeditor.tld" prefix="FCK" %> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; String dir=sn.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(path+"/error.jsp"); } else{ String method=request.getParameter("method"); String title=""; String content=""; String id=""; if(method.equals("upNews")){ id=request.getParameter("id"); List newsList=newsb.getOneNews(Integer.parseInt(id)); title=newsList.get(1).toString(); content=newsList.get(3).toString(); } %>
<% if(method.trim().equals("addNews")){ %> 添加 (内容不能超过5000个字符) <%}else{%> 修改 (内容不能超过5000个字符) <%} %>
信息标题:
信息分类:
<%} %>