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

JAVA³£ÓòÙ×÷Óï¾ä ÏîÄ¿ÖеÄ×ܽá¶þ


jspÊä³ö¸ñʽ»¯ºóµÄÈÕÆÚ
<fmt:formatDate value="${whiteNumber.crtdate }" pattern="yyyy-MM-dd HH:mm:ss"/>
ÈçÊÇmodelÀïµÄlistÔÚactionÖÐÈ¡²»µ½Öµ¡£¿ÉÄÜÔÚ¸ÃmodelÖеÄlistµÄsetterºÍgetter·½Ê½ÖУ¬Ê¹ÓõĿÉÄÜÊÇlazy¼ÓÔØ£¬¸ÄΪEAGER¼´¿É¡£
<s:iterator>±êÇ©ÀﻹÓÐ<s:iterator>±êÇ©£¬ÀïÃæµÄ±êÇ©ÔÚʹÓÃÖÐÈç¹û²»ÏÔʾÊý¾Ý£¬¿ÉÄÜÊÇÔÚÍⲿµÄ±êÇ©¶ÔÓ¦µÄbeanÀ¶ÔbeanÀïµÄlistµÄsetterºÍgetter·½·¨ÉèÖÃΪprivate£¬¸ÄΪpublic¼´¿É
¡£Í¬ÑùÔÚjspÖÐÓÃ${model.name}È¡²»¶ÔÖµ£¬Ò²¿ÉÄÜÔÚbeanÀïµÄnameµÄsetterºÍgetterÊôÐÔΪprivate ,¸ÄΪpublic¼´¿É¡£
title="hehe&#13;hehe"  &#13¿ÉÒÔÈÃaltÌáʾ»»ÐС£
iframe±êÇ©Òª¼Ó</iframe>¹Ø±Õ±êÇ©£¬²»È»ºóÃæµÄÔªËØÓпÉÄÜÎÞ·¨ÏÔʾ
IEÏÂjsµÄÊý×飬“£¬”ºó¶¼»áÓÐÒ»¿Õ¸ñ£¬¶øFFÏÂÔòûÓС£
²»ÈÃÁ´½ÓÕÛÐеÄcss£º
a {
     white-space:nowrap;
}
jsµÃµ½¸¸´°¿ÚÖ§³ÖIE FFË«ä¯ÀÀÆ÷
var iframe = parent.document.getElementById("msgrightframe");
var iDoc = iframe.contentDocument?iframe.contentDocument:iframe.contentWindow.document;// Firefox : IE
µÃµ½¸¸´°ÌåµÄiframe
div×Ô¶¯»»ÐУ¬ÇÒֻʹÓÃy¹ö¶¯Ìõ£¬¼æÈÝff£º
<div id="numDiv" style="display:block;word-wrap:break-word;word-break:break-all;width:495px;height:100px;overflow-y:auto;overflow-x:hidden;border:1px solid;border-color:#7f9db9;padding:2px;"></div>
ÅжÏsessionÊÇ·ñ¹ýÆÚ£¬²¢Ö´ÐÐijº¯Êý
    function isSessionOut(fun)//fun:sessionδ¹ýÆÚʱִÐеĺ¯ÊýÃû
    {
        var myConn = new XHConn();
        if (!myConn) alert("XMLHTTP²»ÄÜÓã¬ÇëÓøüеÄä¯ÀÀÆ÷.");
        var fnWhenDone = function (oXML) {
                            var ret = oXML.responseText;
                            i


Ïà¹ØÎĵµ£º

ÀûÓÃjmapºÍheapAnalyzer¶Ôjava½ø³Ì½øÐÐÄÚ´æʹÓÃÂÊ·ÖÎö

ÓÐʱºòÎÒÃÇ»áÓöµ½java³ÌÐòʹÓÃÄÚ´æ¹ý¶àµÄÇé¿ö£¬ÕâÖÖÇé¿öÒ»°ãÊÇÒòΪ³ÌÐòÓÐÄÚ´æй©£¬ÄÇôÈçºÎ·ÖÎöÊÇ·ñÓÐÄÚ´æй©ÄØ£¿ÆäʵԭÒò±È½Ï¼òµ¥£¬ÏÈÓÃjmapÀ´Éú³ÉÒ»¸ö½ø³ÌµÄÄÚ´æ¿ìÕÕ£¬È»ºóÀûÓÃheapAnalyzer»òÕßMod4JÀ´¶ÔÕâ¸ö¿ìÕÕ½øÐзÖÎö£¬ÕÒµ½ÄÚ´æʹÓÃ×î¶àµÄ¶ÔÏó¡£ÆäʵÓÐÎÞÄÚ´æй©µÄÒ»¸ö±íÏÖ¾ÍÊÇÄÚ´æ·Ö²¼ÊÇ·ñ¾ùÔÈ£¬Èç¹û²»¾ùÔÈ£¬Ò»°ãÀ ......

ArrayParameters.java £¨j»ù p45£©

//´«µÝ²ÎÊý£¬ºÍcÖд«µØÖ·ÓеãÏñ
public class ArrayParameters {
public static void changeOrNot (int i, double[] x) {
i =-1;
x[0] = -2.0;
double[] y = x;
y[1] = -3.0;
double[] z = {4.0, 4.0, 4.0};
x = z;
}
public static void main (String[] args) {
String s1 = ......

JAVA¶¨Ê±Æ÷ÀàµÄʹÓÃ


Java´úÂë
import java.util.Timer;   
import java.util.TimerTask;  
import java.util.Timer;
import java.util.TimerTask;
Java´úÂë
public class Test {   
 public static void main(String[] args) {    ......

Java¡¢JSP¡¢HTML¡¢XML±àд¶¼Òª·ûºÏÒÔϱàÂë¹æÔò£¡

1 ËùÓÐµÄ .java|.jsp|.html|.xml Ô´Îļþ¾ùʹÓÃutf-8±àÂë¸ñʽ±£´æµ½ÏµÍ³´ÅÅÌ¡£
È磺ÔÚEclipseÖб༭Îļþ£¬Ñ¡ÖÐÎļþ´ò¿ªÓÒ¼ü²Ëµ¥Ñ¡ÔñÊôÐÔ£¬½«Îı¾Îļþ±àÂëÉèÖÃΪÆäËû²¢Ñ¡ÔñUTF-8£»Ò²¿ÉÒÔÔÚ
Eclipse——Ê×Ñ¡Ïî——³£¹æ——ÄÚÈÝÀàÐÍÖÐÉèÖø÷ÖÖÎļþµÄȱʡ±àÂ룬ÕâÑùÒÔºóËùÓеÄÎı¾Îļþ¶¼Ê¹ÓÃÍ³Ò ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ