Article View: cn.bbs.comp.lang.java
Article #12179�����ݿ�����ƥ��(��½��֤)����!
From: ��
Date: Sat, 07 Aug 2004 15:22
Date: Sat, 07 Aug 2004 15:22
21 lines
1489 bytes
1489 bytes
ż����ݿ��������:
��� ���� �Ƿ�Ϊ��
�ʺ� text ��
���� text ��
��½ʱ��request.getParameter()��������˵�½�������ֱ��� a,b.
Ȼ���������м�������:
String n=rs.getString("�ʺ�");
byte d[]=n.getBytes("ISO-8859-1");
n=new String (d);
String s=rs.getString("����");
byte e[]=s.getBytes("ISO-8859-1");
s=new String (e);
if (a.equals(n)&&b.equals(s))
{�ɹ���}
else
{ʧ����}
<<<<!!!!������������ƥ��,Ϊʲô����֤������????>>>>
--
[1;32m�� ��Դ:�������ʵBBS http://bbs.tju.edu.cn [FROM: 202.113.13.188][m
Technical Details
Message-ID:
<4DX7PF$ASP@bbs.tju.edu.cn>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!nntp-server.pubsub.com!netnews.sdu.edu.cn!news2.happynet.org!TJUBBSShow Full Headers
Complete Article Headers
X-Google-Thread: f6cb0,ab7e873dcca9f1bb,start X-Google-Attributes: gidf6cb0,public X-Google-Language: Chinese,GB Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!nntp-server.pubsub.com!netnews.sdu.edu.cn!news2.happynet.org!TJUBBS From: reiman.bbs@bbs.tju.edu.cn.no.spam (Ρ��) Newsgroups: cn.bbs.comp.lang.java Subject: �����ݿ�����ƥ��(��½��֤)����! Date: 07 Aug 2004 15:22:39 GMT Organization: �����ʵBBSվ Message-ID: <4DX7PF$ASP@bbs.tju.edu.cn> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Filename: Java/M.1091892159.A Lines: 21