executeQuery(
"select * from usertable where u_name="+user.getAccount()+"and u_pwd="+user.getPassword()+"and u_type="+user.getTypeId());
"select * from usertable where u_name="+user.getAccount()+"and u_pwd="+user.getPassword()+"and u_type="+user.getTypeId());
解决方案 »
- java 新手求教 Cannot find class [] for bean with name defined in ServletContext
- struts2标签#¥%的区别
- JAVA或JS怎样调用远程ACTIVEX
- 急:100 分求以下问题答案 ....
- 100分求救,流言板,问题解决马上结帖?????
- 树型列表的问题
- JSP最初级问题求教--最简单的,接收表单参数的 同时请求指点学习思路
- JFreeChart中要显示中文怎么办?
- 在一个jsp网页中怎样才能禁止一个提交按钮同时被多按一次以上?
- 请问怎么在jsp里发带附件的邮件啊?我可以捐500分给回答的人
- web程序通过一个连接池的类来与数据库相连,数据库服务器上sqlServer占用内存过大!!!
- 关于ISO-8859-1字符集编码问题!请教!
"select * from usertable where u_name='"+user.getAccount()+"' and u_pwd='"+user.getPassword()+"' and u_type="+user.getTypeId());
==>
'"+user.getAccount()+"' and //and这里有空格