/*
 (t¨©ng)* (t¨©ng)读cookie
*/
Cookie[] (t¨©ng)cookies (t¨©ng)= (t¨©ng)request.getCookies();
if(cookies!=null)
{
 (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)String (t¨©ng)username (t¨©ng)= (t¨©ng)"";
 (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)String (t¨©ng)password (t¨©ng)= (t¨©ng)"";
 (t¨©ng)
 (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)for (t¨©ng)(int (t¨©ng)i (t¨©ng)= (t¨©ng)0; (t¨©ng)i (t¨©ng)< (t¨©ng)cookies.length; (t¨©ng)i++) (t¨©ng)
 (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng){
 (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)Cookie (t¨©ng)c (t¨©ng)= (t¨©ng)cookies[i]; (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)
 (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)if(c.getName().equalsIgnoreCase("username (t¨©ng)"))
 (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng){
 (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)name (t¨©ng)= (t¨©ng)c.getValue();
 (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)}
 (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)else (t¨©ng)if(c.getName().equalsIgnoreCase("password"))
 (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng){
 (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)password (t¨©ng)= (t¨©ng)c.getValue();
 (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)}
 (t¨©ng)
 (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)} (t¨©ng)
 (t¨©ng) (t¨©ng)}
<!-- name,phone,age,money checked--> <script language=javascript runat=server> isName = /^[A-Za-z\-]+$/; //˜q™ä¸ªæ˜¯è¡¨æ˜Žè¾“入的åå—åªèƒ½æ˜¯å—æ¯å’Œ˜qžå—½W¦ç»„æˆ? isPhone = /^(\+\d+ )?(\(\d+\) )?[\d ]+$/; //˜q™ä¸ªæ˜¯å›½é™…通用的电(sh¨´)è¯å·ç 判æ–? isAge = /^(1[0-2]\d|\d{1,2})$/; //˜q™ä¸ªæ˜¯å¹´é¾„çš„åˆ¤æ– isMoney = /^\d+\.\d{2}$/; //˜q™ä¸ªæ˜¯åˆ¤æ–输入的是å¦ä¸ø™´§å¸å€? </script> <!-- Emailåœ°å€æœ‰æ•ˆæ€§éªŒè¯å‡½æ•?-> <script language=javascript runat=server> function isEmail(src) { return (isEmail1.test(src) && isEmail2.test(src)); } isEmail1 = /^\w+([\.\-]\w+)*\@\w+([\.\-]\w+)*\.\w+$/; isEmail2 = /^.*@[^_]*$/; </script> <!-- IPåœ°å€æœ‰æ•ˆæ€§éªŒè¯å‡½æ•?-> <script language=javascript runat=server> ip_ip = '(25[0-5]|2[0-4]\\d|1\\d\\d|\\d\\d|\\d)'; ip_ipdot = ip + '\\.'; isIPaddress = new RegExp('^'+ip_ipdot+ip_ipdot+ipdot+ip_ip+'$'); </script> <!-- password有效性验è¯å‡½æ•?-> <script language=javascript runat=server> function TestPwd(src) { var sxf,regex; sxf='^[\\w]{6,12}$'; regex=new RegExp(sxf); return regex.test(src); } </script> <!--ZipCode check function--> <script language=javascript runat=server> function TestZipCode(src) { var ZipCode,regex; ZipCode="^[\\d]{6}$" regex=new RegExp(ZipCode); return regex.test(src); } </script>   <!--验è¯ç”¨æˆ·è¾“å…¥íw«ä†¾è¯å·çš„åˆæ³•æ€?-> <script language=javascript runat=server> isIdCorrect1=/^\d{15}$/; isIdCorrect2=/^\d{18}$/; function isIdCorrect(src) { return(isIdCorrect1.test(src)&&isIdCorrect2.test(src)); } </script>
java.net http://www.java.net
Lomboz http://www.objectlearn.com/index.jsp (J2EE plugin for Eclipse)
htmlArea http://sourceforge.net/projects/itools-htmlarea/ (所è§å³æ‰€å¾—的在线HTML¾~–辑å™?
XmlBuddy http://www.xmlbuddy.com/ (XML Editor plugin for Eclipse)
JFreeChart http://www.jfree.org/ (用于生æˆå›¾è¡¨çš„项ç›?
EclipseME http://eclipseme.sourceforge.net/ (J2ME Developmnt Plugin for Eclipse)
mvnForum http://sourceforge.net/projects/mvnforum/ (论å›)
jChatBox http://www.javazoom.net/index.shtml (用servlet实现的WEBèŠå¤©å¼•擎)
POI http://jakarta.apache.org/poi/index.html (用于处ç†Excel,WORD½{‰æ–‡æ¡£çš„™å¹ç›®)
FileUpload http://jakarta.apache.org/commons/fileupload/ (用于处ç†HTTPæ–‡äšgä¸Šä¼ å¾—é¡¹ç›?
PDFBox http://sourceforge.net/projects/pdfbox/ (处ç†PDF文档的项ç›?
Lucene http://jakarta.apache.org/lucene/index.html (æœçƒ¦(ch¨³)引擎)
Digester http://jakarta.apache.org/commons/digester/ (处ç†XMLä¿¡æ¯çš„项ç›?
DBCP http://jakarta.apache.org/commons/dbcp/ (æ•°æ®åº“è¿žæŽ¥æ± )
AXIS http://ws.apache.org/axis/ (WebService 的实现框�
Jetspeed http://portals.apache.org/jetspeed-1/ (Portal)
HSQLDB http://sourceforge.net/projects/hsqldb/ (Im memory Database Engine)
CEWOLF http://sourceforge.net/projects/cewolf/ (ä¸€å¥—æ ‡½{‘Öº“实现Web报表,使用的是jFreeChart引擎)
Struts Menu http://sourceforge.net/projects/struts-menu/ (åŸÞZºŽStrutsçš„Webèœå•™å¹ç›®)
htmlparser http://sourceforge.net/projects/htmlparser/ (用于解æžHTMLä¿¡æ¯çš„项ç›?
Mondrian http://sourceforge.net/projects/mondrian/ (Open Source OLAP Database)
ProGuard http://sourceforge.net/projects/proguard/ (Javaçš„æØœæ·†å™¨)
InfoGlue http://sourceforge.net/projects/infoglue/ (J2EE 内容½Ž¡ç†¾pÈ»Ÿ)
JPivot http://sourceforge.net/projects/jpivot/ (åŸÞZºŽWEBçš„OLAP 展现)
http://java-source.net/