<%@ page contentType="text/html; charset=GBK" %> <% if(request.getParameter("idtype")==null||request.getParameter("idtype").equals("")){%> <%}%> <% String idtype=request.getParameter("idtype"); if((request.getParameter("id")==null)||(!com.myniko.txthtml.CharValid.isNumber(request.getParameter("id")))||request.getParameter("id").length()>6){%> <%}%> <% int id=Integer.parseInt(request.getParameter("id")); if((request.getParameter("fromnumber")==null)||(!com.myniko.txthtml.CharValid.isNumber(request.getParameter("fromnumber")))||request.getParameter("fromnumber").length()>7){%> <%}%> <% int fromnumber=Integer.parseInt(request.getParameter("fromnumber")); if((request.getParameter("pagesize")==null)||(!com.myniko.txthtml.CharValid.isNumber(request.getParameter("pagesize")))||request.getParameter("pagesize").length()>3){%> <%}%> <% int pagesize=Integer.parseInt(request.getParameter("pagesize")); if((request.getParameter("length")==null)||(!com.myniko.txthtml.CharValid.isNumber(request.getParameter("length")))||request.getParameter("length").length()>3||Integer.parseInt(request.getParameter("length"))<5){%> <%}%> <% int length=Integer.parseInt(request.getParameter("length")); if(request.getParameter("update")==null||request.getParameter("update").equals("")||request.getParameter("update").length()>2){%> <%}%> <% String update=request.getParameter("update"); if(request.getParameter("img")==null||request.getParameter("img").equals("")){%> <%}%> <% String img=request.getParameter("img"); if(request.getParameter("style")==null||request.getParameter("style").equals("")){%> <%}%> <% String style=request.getParameter("style"); if((request.getParameter("up")==null)||(!com.myniko.txthtml.CharValid.isNumber(request.getParameter("up")))||request.getParameter("up").length()>2){%> <%}%> <% int up=Integer.parseInt(request.getParameter("up")); if((request.getParameter("hot")==null)||(!com.myniko.txthtml.CharValid.isNumber(request.getParameter("hot")))||request.getParameter("hot").length()>2){%> <%}%> <% int hot=Integer.parseInt(request.getParameter("hot")); %> <% com.myniko.news.indexNews.seeNews news=new com.myniko.news.indexNews.seeNews(idtype,id); String aa=news.hengXiang(fromnumber,pagesize,length,update,img,style,up,hot); out.print(aa); %>