WebRoot/yjy/action/BBSTopicAction.jsp

(完整代码) 1KB

<%@ page language="java" import="java.util.*,com.accp.myShopping.yjy.bean.*,com.accp.myShopping.yjy.dao2.*" pageEncoding="utf-8"%>
<%@page import="com.accp.myShopping.wjj.dao.pageBean"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'BBSTopicAction.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
     <%
        String pages=request.getParameter("page");
        int pint=0;
        try{
            if(pages==null){
               pint=1;
            }
            else{
               pint=Integer.parseInt(pages);
            }
        }catch(NumberFormatException e){
              pint=1;
        }
        findListTopic top=new findListTopic();
        pageBean pb=top.pageList(pint);
        out.print(pb.getRowCount());
        request.setAttribute("ListTopic",pb);
         request.getRequestDispatcher("/yjy/JSP/BBSTopic.jsp").forward(request,response);
      %>
  </body>
</html>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。