我如何...添加与数据库连接的搜索框 [英] How do I...add search box connected with database
本文介绍了我如何...添加与数据库连接的搜索框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在jsp中添加一个使用jquery与数据库连接的搜索框。
解决方案
请参阅本文< br $> b $ b
AJAX从JSP和Servlet中使用JSONArray从数据库中获取数据 [ ^ ]
一旦你能够理解它,你就可以将一个参数传递给ajax调用,之后自己实现搜索功能。
如果你在工作时卡在任何地方,请发一个新问题。
i want to add a search box in jsp which is connected with database using jquery.
解决方案
Please refere to this article
AJAX Fetch Data from Database in JSP and Servlet with JSONArray[^]
Once you are able to understand it you can hopefully pass a param to the ajax call and after that implement the search feature yourself.
Please do post a new question if you get stuck anywhere while working on it.
这篇关于我如何...添加与数据库连接的搜索框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文