jsp查询关键字是用户通过文本察搏框输入后传到db检索结果然后返回页面。
举例如下:
<%@ page contentType="text/html;charset=gb2312" %>
<%@ page language="java" import="java.sql.*"%>
<%
String sql = "";
String key = "";
String type= "";
String sortfield = "";
%>歼没型
<%
request.setCharacterEncoding("gb2312");
sql = "select * from student";
key = request.getParameter("mkey");
System.out.print(key);
type = request.getParameter("mtype");
sortfield = request.getParameter(
你在添加功能的过程中遇到了什么问题了吗?