Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想执行这个查询:
String query = "select login,full_name from users where team_id='" + a + "'";
a是一个变量,我将列数据保存在另一个文件中(不是在这个文件中,我试图执行查询)
a
a如果它在另一个文件中,我该如何使用这个变量?
您可以在此处查看如何在 url 上获取参数值
如何使用 JSP 从 URL 中获取参数