Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

java web¿ª·¢ÖзÀÖ¹ÂÒÂëµÄ·½·¨

1.ÔÚϵͳÖе¼ÈëÒ»ÏÂsource
SetCharacterEncodingFilter.java
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements.  See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License.  You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
//******************************************************
//¥·¥¹¥Æ¥àÃû 販売¥·¥¹¥Æ¥à
//機ÄÜÃû ÈÕ±¾語ÎÄ×Ö»¯¤±·ÀÖ¹
//¥¯¥é¥¹Ãû SetCharacterEncodingFilter.java
//
//
//@author xiehl (Tomcat¤«¤é転載)
//@version 2009.07.13 ÐÂ規×÷³É
//
//******************************************************
/**
 * <p>Example filter that sets the character encoding to be used in parsing the
 * incoming request, either unconditionally or only if the client did not
 * specify a character encoding.  Configuration of this filter is based on
 * the following initialization parameters:</p>
 * <ul>
 * <li><strong>encoding</strong> - The character encoding to be configured
 *     for this request, either conditionally or unconditi


Ïà¹ØÎĵµ£º

javaÖÐ ×î³£ÓõÄString µÄÓ÷¨

String : ×Ö·û´®ÀàÐÍ
Ò»¡¢¹¹Ô캯Êý
String(byte[ ] bytes)£ºÍ¨¹ýbyteÊý×é¹¹Ôì×Ö·û´®¶ÔÏó¡£
String(char[ ] value)£ºÍ¨¹ýcharÊý×é¹¹Ôì×Ö·û´®¶ÔÏó¡£
String(Sting original)£º¹¹ÔìÒ»¸öoriginalµÄ¸±±¾¡£¼´£º¿½±´Ò»¸öoriginal¡£
String(StringBuffer buffer)£ºÍ¨¹ýStringBufferÊý×é¹¹Ôì×Ö·û´®¶ÔÏó¡£
ÀýÈ磺
byte[] b = ......

ÓÃJavaдµÄMy SQL²Ù×÷·â×°Àà

Kagula
2009-11-17
 
¹Ø¼ü´Ê
    Java My SQL
 
¸ÅÒª£º
    ¶ÔMy SQL²Ù×÷·â×°µÄJavaÔ´ÂëʾÀý¡£
 
ÒªÇó»·¾³£º
    J2SE1.5 + Eclipse3.4.2
 
ÕýÎÄ£º
Ïȵ½ÍøÉÏÏÂÔØmysql-connector-java-5.0.8-bin.jar£¬²¢°ÑËü·Åµ½ÄãµÄJava ProjectµÄUser Lib ......

javaÉè¼ÆÄ£Ê½

ÎÊÌâÓò:
 --ϵͳÖÐÄãÐèÒª»ñµÃij¸öÀàµÄΨһʵÀý£¬ËùÓпͻ§¶Ë¶ÔËüµÄ·ÃÎʶ¼½«Í¨¹ýÒ»¸ö¹«¹²µÄ·ÃÎʵã»ñµÃ
 --´´½¨Ò»¸öÀಢʹÆä£º(A)¶¨ÒåÒ»¸ö˽ÓеĹ¹ÔìÆ÷£¨B£©¶¨ÒåÒ»¸ö˽ÓС¢¾²Ì¬µÄ±äÁ¿Ö¸Ïò×Ô¼º£¨C£©¶¨ÒåÒ»¸ö¹«ÓС¢¾²Ì¬µÄ·ÃÎÊ·½·¨ÓÃÓÚ·µ»Ø¸ÃÀàµÄÒ»¸öΨһʵÀý
·ÖΪ ¶öººÊ½ ºÍ ÀÁººÊ½,ÏÂÃæÊÇÒ»¸ö¼òµ¥µÄʾÀý´úÂ룬Ӧ¸Ã ......

javaѧϰ±Ê¼Ç(1)

     µÇ¼ÑéÖ¤£¬µ±Óû§ÃûΪabc£¬ÃÜÂëΪ123ʱ·µ»ØÍ¨¹ý£¬·ñÔòΪµÇ¼ʧ°Ü£¬ÈôÖ»ÊäÈëÁËÆäÖÐÒ»ÏÔò·µ»Ø²ÎÊý²»ÕýÈ·¡£
´úÂëÈçÏ£º
   
//µÇ¼ÑéÖ¤·¶Àý ——Ò»¸ö±ê×¼µÄ³ÌÐòÉè¼ÆÄ£Ê½
class Login
{    
       private S ......

JAVA¶ÌÐŶþ´Î¿ª·¢°ü,JAVA¶ÌÐŶþ´Î¿ª·¢¿Ø¼þ

 JAVA¿ª·¢°ü¹¦Äܼò½é
 
  TerrySMS for Java ÊÇÓÃJAVA¿ØÖÆGSM ModemʵÏÖ¶ÌÐÅÊÕ·¢¹¦ÄܵĿª·¢°ü¡£ÀûÓÃTerrySMS¿ÉÒÔʵÏÖ¿çÆ½Ì¨µÄ¶ÌÐÅ·¢ËÍ£¬Ä¿Ç°Ö§³ÖwindowsXP¡¢2000¡¢2003¡¢LinuxµÈ²Ù×÷ϵͳ¡£ÊÇʵÏÖÒµÎñϵͳºÍ¶ÌÐÅϵͳ¼Þ½ÓµÄÀíÏ빤¾ß¡£
 
 
 JAVA¿ª·¢°ü¹¦ÄܽéÉÜ
 
 1¡¢Ä¿Ç°Ö ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ