📄 中文拼音混合查询 - 网海渔夫 -- it博客-中国最具人气的it博客-赛迪网it人家园.mht
字号:
<TD>29</TD>
<TD>30</TD>
<TD>31</TD>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TR>
<TD colSpan=3D2><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-type-blog-y-20=
08-m-11.html">«</A>=D4=C2<A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-type-blog-y-20=
08-m-1.html">»</A></TD>
<TD colSpan=3D3>2008 - 12</TD>
<TD colSpan=3D2><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-type-blog-y-20=
07-m-12.html">«</A>=C4=EA<A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-type-blog-y-20=
09-m-12.html">»</A></TD></TR></TBODY></TABLE></DIV></DIV><!--end =
calendar--><!--begin dirs-->
<DIV class=3Dbox>
<H2>=C8=D5=D6=BE=B7=D6=C0=E0</H2>
<UL class=3Dlist id=3Dbloglist>
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-type-blog.html=
">=CB=F9=D3=D0=C8=D5=D6=BE</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-type-blog-diri=
d-165.html">j2me</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-type-blog-diri=
d-166.html">wap</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-type-blog-diri=
d-167.html">javascript</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-type-blog-diri=
d-168.html">ajax</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-type-blog-diri=
d-169.html">j2ee</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-type-blog-diri=
d-170.html">xml</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-type-blog-diri=
d-171.html">webservice</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-type-blog-diri=
d-172.html">=CF=EE=C4=BF=B9=DC=C0=ED</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-type-blog-diri=
d-173.html">=CD=F8=D5=BE=B2=DF=BB=AE</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-type-blog-diri=
d-0.html">=CE=B4=B7=D6=C0=E0</A>=20
</LI></UL></DIV><!--end dirs--><!--begin archive-->
<DIV class=3Dbox>
<H2>=B4=E6=A1=A1=B5=B5</H2>
<UL class=3Dlist>
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-m-6-y-2007.htm=
l">2007=C4=EA6=D4=C2</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-m-7-y-2007.htm=
l">2007=C4=EA7=D4=C2</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-m-8-y-2007.htm=
l">2007=C4=EA8=D4=C2</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-m-9-y-2007.htm=
l">2007=C4=EA9=D4=C2</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-m-10-y-2007.ht=
ml">2007=C4=EA10=D4=C2</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-m-11-y-2007.ht=
ml">2007=C4=EA11=D4=C2</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-m-12-y-2007.ht=
ml">2007=C4=EA12=D4=C2</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-m-1-y-2008.htm=
l">2008=C4=EA1=D4=C2</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-m-2-y-2008.htm=
l">2008=C4=EA2=D4=C2</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-m-3-y-2008.htm=
l">2008=C4=EA3=D4=C2</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-m-4-y-2008.htm=
l">2008=C4=EA4=D4=C2</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-m-5-y-2008.htm=
l">2008=C4=EA5=D4=C2</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-m-6-y-2008.htm=
l">2008=C4=EA6=D4=C2</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-m-7-y-2008.htm=
l">2008=C4=EA7=D4=C2</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-m-8-y-2008.htm=
l">2008=C4=EA8=D4=C2</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-m-9-y-2008.htm=
l">2008=C4=EA9=D4=C2</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-m-10-y-2008.ht=
ml">2008=C4=EA10=D4=C2</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-m-11-y-2008.ht=
ml">2008=C4=EA11=D4=C2</A>=20
<LI><A=20
=
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-m-12-y-2008.ht=
ml">2008=C4=EA12=D4=C2</A>=20
</LI></UL></DIV><!--end archive--><!--begin search-->
<DIV class=3Dbox>
<H2>=CE=C4=D5=C2=CB=D1=CB=F7</H2>
<FORM action=3Dsearch.php? method=3Dpost><INPUT type=3Dhidden value=3D2 =
name=3Dstep>=20
<INPUT type=3Dhidden value=3D51036 name=3Dauthorid> <INPUT type=3Dhidden =
value=3DS=20
name=3Dsch_area>=20
<DIV class=3Dtext style=3D"OVERFLOW: hidden; WIDTH: 100%"><LABEL><INPUT =
class=3Dip=20
size=3D15 name=3Dkeyword> <INPUT class=3Dbt type=3Dsubmit value=3D" Go " =
name=3Dsubmit>=20
</LABEL></DIV></FORM></DIV><!--end search--></DIV>
<SCRIPT language=3DJavaScript>=0A=
function upleft(id){=0A=
var obj =3D GE('bloglist');=0A=
var objs =3D obj.getElementsByTagName('li');=0A=
for (var i=3D0;i<objs.length;i++) {=0A=
if (objs[i].lastChild.tagName =3D=3D 'ULS') {=0A=
if (objs[i].id=3D=3Did) {=0A=
if (objs[i].lastChild.style.display !=3D 'none') {=0A=
objs[i].lastChild.style.display =3D 'none';=0A=
} else {=0A=
objs[i].lastChild.style.display =3D '';=0A=
}=0A=
} else {=0A=
objs[i].lastChild.style.display =3D 'none';=0A=
}=0A=
}=0A=
}=0A=
}=0A=
function cgpic(aid){=0A=
var obj =3D GE('photo_img');=0A=
var obja =3D obj.getElementsByTagName('a');=0A=
var objimg =3D obja[0].getElementsByTagName('img');=0A=
var newaid =3D GE(aid).src;=0A=
if (GE(aid).src) {=0A=
newaid =3D newaid.replace(/\_thumb/ig,'');=0A=
if (objimg[0].src=3D=3D'' || objimg[0].src !=3D newaid) {=0A=
objimg[0].src =3D newaid;=0A=
}=0A=
=0A=
if (obja[0].href !=3D objimg[0].src) {=0A=
obja[0].href =3D objimg[0].src;=0A=
}=0A=
}=0A=
return;=0A=
}=0A=
function externallinks() {=0A=
if (!document.getElementsByTagName) {=0A=
return;=0A=
}=0A=
var obja =3D document.getElementsByTagName("a");=0A=
for (var i=3D0; i<obja.length; i++) {=0A=
var obj =3D obja[i];=0A=
if (obj.getAttribute("href") && obj.getAttribute("rel") =3D=3D =
"external") {=0A=
obj.target =3D "_blank";=0A=
}=0A=
}=0A=
}=0A=
</SCRIPT>
<!--begin main-->
<DIV class=3Dright id=3Dmain>
<DIV class=3Dbox>
<H2>=C8=D5=D6=BE=CE=C4=D5=C2</H2><!--begin-->
<DIV class=3Dtext>
<DIV style=3D"MARGIN-TOP: -10px; FLOAT: right"><IMG=20
src=3D"http://blog.ccidnet.com/image/index/ncopy.gif"></DIV>
<DIV class=3Dgray>2007=C4=EA06=D4=C208=C8=D5 17:00:26</DIV>
<H3>=D6=D0=CE=C4=C6=B4=D2=F4=BB=EC=BA=CF=B2=E9=D1=AF </H3>
<TABLE class=3Dblog-content>
<TBODY>
<TR>
<TD>
<P>
=
<P>=BD=F1=CC=EC=D6=D5=D3=DA=CA=B5=CF=D6=D6=D0=CE=C4,=C6=B4=D2=F4=BB=EC=BA=
=CF=C3=FB=D7=D6=B6=CC=D0=C5=B2=E9=D1=AF,=BD=AB=CA=B5=CF=D6=B7=BD=CA=BD=B9=
=B2=CF=ED</P>
=
<P>=C6=DA=B4=FD=BD=E1=CA=B6=B8=FC=B6=E0=CF=B2=BB=B6=D1=D0=BE=BF=B5=C4=C5=F3=
=D3=D1!</P>
<P>package dhmtxl.ztp;</P>
<P>import java.sql.Connection;<BR>import =
java.sql.ResultSet;<BR>import=20
java.sql.SQLException;<BR>import java.sql.Statement;<BR>import=20
java.util.regex.Pattern;</P>
<P>import com.common.DBConnectionManager;</P>
<P>public class ZTP {</P>
<P> public String ZtoP(String str)=20
{<BR> DBConnectionManager connMgr =3D=20
DBConnectionManager.getInstance();<BR> Connection con =
=3D=20
connMgr.getConnection("idb");<BR> Statement stmt =3D=20
null;<BR> ResultSet rs =3D null;<BR> String =
py =3D=20
"";<BR> String sql =3D "select py FROM t_zhongwenToPing =
where=20
hz=3D'" + str + "'";<BR> try =
{<BR> stmt =3D=20
con.createStatement();</P>
<P> rs =3D stmt.executeQuery(sql);</P>
<P> while (rs.next()) =
{<BR> py =3D=20
rs.getString(1);<BR> }<BR> } catch=20
(SQLException e)=20
{<BR> e.printStackTrace();<BR> } =
finally=20
{<BR> try {<BR> if (rs =
!=3D=20
=
null)<BR> rs.close();<BR> }=
=20
catch (Exception e)=20
=
{<BR> e.printStackTrace();<BR> }<=
BR> try=20
{<BR> if (stmt !=3D=20
=
null)<BR> stmt.close();<BR>  =
;}=20
catch (Exception e)=20
=
{<BR> e.printStackTrace();<BR> }<=
BR> try=20
{<BR> connMgr.freeConnection("idb",=20
=
con);<BR> connMgr.release();<BR> =
}=20
catch (Exception e)=20
=
{<BR> e.getMessage();<BR> }<BR>&n=
bsp; }<BR> return=20
py;<BR> }</P>
<P> public static void main(String arg[]) =
{<BR> ZTP ztp =3D=20
new ZTP();<BR> String name =3D =
"=D2=E2=B4=F3=C0=FB";<BR> String nameP=20
=3D "";<BR> char names[] =3D =
name.toCharArray();<BR> for=20
(int i =3D 0; i < names.length; i++) {</P>
=
<P>//=C5=D0=B6=CF=CA=C7=B7=F1=CE=AA=D6=D0=CE=C4<BR> if =
(Pattern.matches("[\u4e00-\u9fa5]",=20
String.valueOf(names<I>))) {</P>
<P> =
//=C8=E7=B9=FB=CA=C7=D6=D0=CE=C4,=D4=F2=B4=D3=C6=B4=D2=F4=B1=ED=C0=EF=B2=E9=
=B4=A6=B8=C3=D6=D0=CE=C4=B5=C4=C6=B4=D2=F4<BR> nam=
eP +=3D=20
ztp.ZtoP(String.valueOf(names<I>));<BR> }=20
else<BR> nameP +=3D=20
=
names<I>;<BR> }<BR> System.out.println(nameP);<BR>&=
nbsp;}<BR>}</P>
<P><BR> </P><BR><BR>=C3=E8=CA=F6=A3=BA =
=D6=D0=CE=C4=C6=B4=D2=F4=BF=E2<BR>=B8=BD=BC=FE=A3=BA <IMG=20
src=3D"http://blog.ccidnet.com/theme/default-vista/images/zip.gif" =
align=3DabsBottom> <A=20
=
href=3D"http://blog.ccidnet.com/job-htm-action-download-itemid-151324-aid=
-20581.html"=20
target=3D_blank><FONT =
color=3Dred>=D6=D0=CE=C4=D7=AA=BB=AF=CE=AA=C6=B4=D2=F4.rar</FONT></A> =
(52 K)=20
<P></P>
<P>
<DIV>Tags=A3=BA <A class=3Dtags=20
=
href=3D"http://blog.ccidnet.com/tags.php?tagname=3D%D6%D0%CE%C4%C6%B4%D2%=
F4%BB%EC%BA%CF%B2%E9%D1%AF&type=3Dblog">=D6=D0=CE=C4=C6=B4=D2=F4=BB=EC=
=BA=CF=B2=E9=D1=AF</A>=20
</DIV>
<P></P></I></I></I></TD></TR></TBODY></TABLE>
<DIV class=3Dbb>
<DIV>=C0=E0=B1=F0=A3=BA <A=20
href=3D"http://blog.ccidnet.com/blog-htm-do-list-uid-51036-type-blog-diri=
d-0.html">=CE=DE=B7=D6=C0=E0</A>=20
| <A=20
href=3D"http://blog.ccidnet.com/blog-htm-do-showone-uid-51036-type-blog-i=
temid-151324.html#c">=C6=C0=C2=DB</A>(<SPAN=20
id=3Dsum>0</SPAN>) | <A=20
href=3D"http://blog.ccidnet.com/blog-htm-do-showone-uid-51036-type-blog-i=
temid-151324.html">=E4=AF=C0=C0</A>(2947)=20
| <A title=3D=BC=D3=C8=EB=CA=E9=C7=A9 style=3D"CURSOR: pointer"=20
onclick=3D"addtoclt(151324,'blog');">=CA=D5=B2=D8</A></DIV>
<DIV class=3Dc></DIV></DIV><!--begin comment--><A name=3Dmao></A>
<DIV class=3D"comment bb">
<H5 id=3Dcdisplay style=3D"DISPLAY: none">=D2=BB=B9=B2=D3=D0 <SPAN =
id=3Dsums>0</SPAN> =CC=F5=C6=C0=C2=DB</H5><SPAN=20
id=3Dajaxreply><A name=3Dc0></A>
<SCRIPT>=0A=
var commentIds =3D new Array();=0A=
</SCRIPT>
</SPAN><INPUT id=3Dcommentid type=3Dhidden name=3Dcommentid>=20
<DIV class=3Dbig id=3Dcommentspage></DIV>
<FORM name=3DFORM>
<DIV class=3Dpost-comment>
<H5>=B7=A2=B1=ED=C6=C0=C2=DB</H5>
<DIV><A>=D3=C3=BB=A7=C3=FB=A3=BA</A><INPUT class=3Dip id=3Dguestname =
tabIndex=3D1 size=3D22 name=3Dguestname>=20
</DIV>
<DIV><TEXTAREA class=3Dip id=3Dcontent onkeydown=3Dquickpost(event) =
style=3D"WIDTH: 95%" tabIndex=3D4 name=3Dcontent rows=3D10></TEXTAREA>=20
</DIV>
<DIV><IMG id=3Dck style=3D"CURSOR: pointer"=20
onclick=3D"javascript:newgdcode(ck,'ck.php?windid=3Dguest');" =
alt=3D=BF=B4=B2=BB=C7=E5=B3=FE=A3=AC=BB=BB=D2=BB=D5=C5=20
src=3D"http://blog.ccidnet.com/ck.php?windid=3Dguest" align=3DabsMiddle> =
<INPUT=20
class=3Dip id=3Dgdcode tabIndex=3D1 size=3D4 name=3Dgdcode> <INPUT =
id=3Difcode type=3Dhidden=20
value=3Dguest> <INPUT class=3Dbt id=3Dcsubmit onclick=3Dpostcomment(); =
tabIndex=3D5 type=3Dbutton value=3D"=CC=E1 =BD=BB" name=3DSubmit =
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -