asp翻译成jsp??帮帮忙

来源:互联网 发布:淘宝仓库员工作流程 编辑:程序博客网 时间:2024/04/28 15:35

<!--#include file="conn_dx.asp"-->
<%
    const MaxPerPage=18
    dim totalPut  
    dim CurrentPage
    dim TotalPages
    dim i,j
    dim idlist
    dim title

 title=request("txtitle")
    if not isempty(request("page")) then
        currentPage=cint(request("page"))
    else
        currentPage=1
    end if
   if not isempty(request("selAnnounce")) then
       idl
   ist=request("selAnnounce")
       if instr(idlist,",")>0 then
   dim idarr
   idArr=split(idlist)
   dim id
  for i = 0 to ubound(idarr)
          id=clng(idarr(i))
          call deleteannounce(id)
  next
       else
   call deleteannounce(clng(idlist))
       end if
   end if
    dim sql
    dim rs
%>