06 2017 档案
摘要:jsp页面步骤 1.定义页面位置input类型为hidden的隐藏域名称为pageIndex初始值为12.定义页面长度3.通过请求获得参数的方法传入pageIndex得到pageIndex字符串4.定义当前页面为15.进行页面位置的非空判断 (1)为空则值为1 (2)否则值为页面位置的包装类6.定义
阅读全文
摘要:内置对象request,responseout,application,session,pageContext,page,config,exception get参数出现在地址栏中 有参数可传播post不出现 安全性高 <jsp:useBean id="newsService" class="com
阅读全文
摘要:method="post" enctype="multipart/form-data"> <% request.setCharacterEncoding("UTF-8"); News news=new News(); news.setCreateDate(new Date()); boolean i
阅读全文