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>
            
    

  • 相关阅读:
    vue3.0之如何挂到vue原型,这种全局变量,方法,属性
    javascript中apply、call和bind的区别
    vue云标签效果升级版,动态钻形
    仅使用HTML和CSS实现的标签云效果 Fants
    export export default import * as zh
    vue国际化之vue-i18n使用
    linux 修改mysql 密码 (5.7版本)
    更改Java程序时间
    keepalive+mysql5.7
    mysql 授予用户所有权限
  • 原文地址:https://www.cnblogs.com/a1111/p/12816477.html
Copyright © 2011-2022 走看看