• 新闻发布项目——后台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() %>' onclick='return clickdel()'>删除</a> </span> </li>
    
          <li class='space'></li>
          <%} %>
        
          <p align="right"> 当前页数:[1/3]  <a href="#">下一页</a> <a href="#">末页</a> </p>
        </ul>
    </body>
    </html>
            
    

  • 相关阅读:
    linux下链接静态链接库
    linux消息队列操作(转)
    android 模块编译,mm 命令
    关于函数里对指针赋值的问题
    Android内核和驱动篇Android内核介绍 (转)
    pthread属性使用(转)
    MOD_INC_USE_COUNT和MOD_DEC_USE_COUNT(转)
    linux下配置文件的读写
    从Linux程序中执行shell(程序、脚本)并获得输出结果(转)
    封装错误信息打印的函数
  • 原文地址:https://www.cnblogs.com/a1111/p/6540289.html
Copyright © 2020-2023  润新知