参考文献
[1]陈鑫、刘汗青、徐常恒.旅游线路的优化设计[J].科教导刊(上旬刊),2011.10 [2]肖红艳.我国中小旅行社经营现状及对策分析[J].企业经济,2011.11
[3]李伟.旅游网络营销的功能及其实现策略[J].重庆科技学院学报(社会科学版),2011.02
[4]赵益民.国内中小旅行社危机分析与管理研究[J].湖北经济学院学报(人文社会科学版),2010.12
[5]胡晓琳、李欣亮、胡鸿杰.中国旅游市场营销发展策略分析[J].中国商贸,2011.03 [6]张丽.浅谈旅游业的网络营销[J].现代经济信息,2011.04
[7]张银鹤、刘治国、张豪.JSP动态网站开发实践教程.北京:清华大学出版社,2007.1 [8]史创明、王俊伟.SQL Server 2000中文版数据库管理与应用标准教程.北京:清华大学出版社,2007.
[9]孙鑫.Servlet/JSP深入详解——基于Tomcat的Web开发.JSP运行机制,JSP语法.2008.08
[10]Fowker M.Refactoring Imlproving the Designs with Refactoring [Ph.Dthersis] University of Texas at Austin, 2009.
27
附 录
主要代码
<%@ page language=\<%
String path = request.getContextPath(); String ()+path+\
%>
<%@ page language=\
28
basePath =
request.getScheme()+\
<%@ include file=\
id=\
width=\
height=\
border=\
cellpadding=\
background=\
29
height=\valign=\id=\
width=\
width=\
width=\
height=\border=\
background=\
<% int curpage=1;//当前页
int page_record=4;//每页显示的记录数 int zgs=0; int zys=0;
//用下面的方法(sql查询完成,速度快) String hsgnpage=request.getParameter(\
String fysql=\ResultSet RS_resultfy=connDbBean.executeQuery(fysql);
while(RS_resultfy.next()){
zgs=Integer.parseInt(RS_resultfy.getString(\ zys=zgs/page_record+1; }
if (hsgnpage!=null) {
curpage=Integer.parseInt(request.getParameter(\} else {
curpage=1; }
if (curpage==0) { }
if(curpage>zys) { }
//out.print(curpage); String sql; if (curpage==1)
30
获取传递的值,需要显示的页
curpage=1;
curpage=zys;
\
{
sql=\} else {
sql=\top \* from liuyanban where id not
in (select top \id from liuyanban order by id desc)
}
sql=sql+\
ResultSet RS_result=connDbBean.executeQuery(sql); String id=\ String
nicheng=\
xingbie=\
QQ=\
youxiang=\
String addtime=\ int i=0;
while(RS_result.next()){ i=i+1;
id=RS_result.getString(\
nicheng=RS_result.getString(\ie\dianhua=RS_result.getString(\\
addtime=RS_result.getString(\
31