java-searchBar:servlet+ajax实现搜索框智能提示

上传者: 42116681 | 上传时间: 2022-04-11 15:50:23 | 文件大小: 1.45MB | 文件类型: ZIP
java-searchBar servlet+ajax实现搜索框智能提示 (ajax) (json) 原理:输入框获得数据---------->服务器(servlet)进行查询--------->前端接收并解析展示数据 过程: 1.前台静态页面设计 2.创建xmlHttp对象 3.给服务器发送数据 4.写回调函数 5.动态的展示数据 6.后台接收数据并转为json 7.其它(最后的输入框的美化没有做) 不足: 点击下面的提示后,输入框中内容并不会改变,不知道为什么td.onclick()方法为什么不起作用 参照视频:

文件下载

资源详情

[{"title":"( 21 个子文件 1.45MB ) java-searchBar:servlet+ajax实现搜索框智能提示","children":[{"title":"java-searchBar-master","children":[{"title":"src","children":[{"title":"com","children":[{"title":"wantao","children":[{"title":"servlet","children":[{"title":"SearchServlet.java <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"build","children":[{"title":"classes","children":[{"title":"com","children":[{"title":"wantao","children":[{"title":"servlet","children":[{"title":"SearchServlet.class <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.project.facet.core.xml <span style='color:#111;'> 335B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'> 486B </span>","children":null,"spread":false},{"title":".jsdtscope <span style='color:#111;'> 555B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 357B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 687B </span>","children":null,"spread":false},{"title":"WebContent","children":[{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 39B </span>","children":null,"spread":false}],"spread":true},{"title":"search.jsp <span style='color:#111;'> 3.40KB </span>","children":null,"spread":false},{"title":"WEB-INF","children":[{"title":"lib","children":[{"title":"commons-logging-1.1.1.jar <span style='color:#111;'> 59.42KB </span>","children":null,"spread":false},{"title":"json-lib-2.1.jar <span style='color:#111;'> 122.00KB </span>","children":null,"spread":false},{"title":"commons-lang-2.6.jar <span style='color:#111;'> 277.56KB </span>","children":null,"spread":false},{"title":"commons-beanutils-1.8.3.jar <span style='color:#111;'> 226.58KB </span>","children":null,"spread":false},{"title":"xom-1.2.8.jar <span style='color:#111;'> 305.94KB </span>","children":null,"spread":false},{"title":"ezmorph-1.0.6.jar <span style='color:#111;'> 84.46KB </span>","children":null,"spread":false},{"title":"commons-collections-3.2.1.jar <span style='color:#111;'> 561.90KB </span>","children":null,"spread":false}],"spread":true},{"title":"web.xml <span style='color:#111;'> 564B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 883B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明