zoukankan      html  css  js  c++  java
  • 新闻发布项目——后台JSP界面adminManage/manageTopic.jsp

    <%@page import="bdqn.newsManageServlet.Service.Impl.categoryTBServiceImpl"%>
    <%@page import="bdqn.newsManageServlet.Service.categoryTBService"%>
    <%@page import="bdqn.newsManageServlet.entity.categoryTB"%>
    <%@page import="bdqn.newsManageServlet.Dao.categoryTBDao"%>
    <%@page import="bdqn.newsManageServlet.Dao.Impl.categoryTBDaoImpl"%>
    <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>新闻类别</title>
    <link href="../CSS/admin.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    	function clickdel(){
    	if(confirm("是否要删除?")==true){
    		return rrue;
    	}else{
    		return false;
    	}
    	}
    </script>
    </head>
    
    <body>
    <ul class="classlist">
    <%
    	categoryTBService cgService=new categoryTBServiceImpl();
    	List<categoryTB> cateList=cgService.getCategoryTBAll();
    	for(int i=0;i<cateList.size();i++){
    		categoryTB cate=cateList.get(i);
    	//categoryTBDao cdao=new categoryTBDaoImpl();
    %>
          <li>编号:<%=cate.getCategoryID() %> <span> 类别:<%=cate.getCategoryName() %>
            sport                                             
             <a href='modifyCategory.jsp?cgid=<%=cate.getCategoryID() %>'>修改</a>
              <a href='../doDelCategoryServlet?cgid=<%=cate.getCategoryID() %>' οnclick='return clickdel()'>删除</a> </span> </li>
    
          <li class='space'></li>
          <%} %>
        
          <p align="right"> 当前页数:[1/3] <a href="#">下一页</a> <a href="#">末页</a> </p>
        </ul>
    </body>
    </html>
            
    

  • 相关阅读:
    线性时不变系统的频率选择滤波器
    Why Programmmers dont have a High Social Status?
    Oracle 的DBA考证
    基于matlab的FIR加窗滤波器设计
    奥本海姆《离散时间信号处理》第二版书评
    Altium Designer 发现的机密——摘自CRAZY BINGO
    sql server 2008 添加登录名
    Silverlight listbox横向排列
    IOS 摄像头使用(1)UIImagePickerController
    ios 如何获得系统时间和日期
  • 原文地址:https://www.cnblogs.com/a1111/p/12816477.html
Copyright © 2011-2022 走看看