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>
            
    

  • 相关阅读:
    CSS中position小解
    position
    mac默认安装postgresql, 如何让postgresql可以远程访问
    The data directory was initialized by PostgreSQL version 9.6, which is not compatible with this version 10.0.
    active admin gem error
    psql 无法添加超级用户
    ubuntu 15.04 安装Balsamiq Mockups 3
    Rails html 写public里图片的路径
    rails c 历史命令
    undefined local variable or method `per' for []:ActiveRecord::Relation
  • 原文地址:https://www.cnblogs.com/a1111/p/12816476.html
Copyright © 2011-2022 走看看