jspдµÄÁÄÌìÊÒÁÄÌì°å¿é²»Ë¢Ð - Java / Java SE
ÎÒ×Ô¼ºÓÃTOMCAT×ö·þÎñÆ÷£¬Õâ¸öÊÇÍøÖ·
http://ymh1011.gicp.net:8080/ymhchat/login.jsp
´ó¼ÒÄÜ°ïÎÒÉÏÈ¥¿´¿´Ê²Ã´ÔÒòÂð£¿
ËüµÄÇé¿öÊǵǽÒԺ󣬷¢Ë͵ÄÁôÑÔÒªµÈµ½Ï´εǼ²ÅÄÜ¿´µ½
Õâ¸öÊÇÔØÈëtransact.jspÄǸöÒ³Ã棬Ҳ¾ÍÊÇÎÒtransact.jspˢв»Á˲ųöÏÖÄǸöÇé¿öÂð£¿
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<script language="javascript" type="text/javascript">
function GetData(url){
url="transact.jsp?action=show.jsp";//µ÷ÓÃÒ³Ãæ
try{
DataLoad.src=url;
}
catch(e){
return false;
}
{
var timeoutid=setTimeout("GetData()",1000)
}
}
</script>
<script id="DataLoad" language="javascript" type="text/javascript" defer></script>
<title>show</title>
</head>
<body background="image/6.jpg" onload="javascript:GetData();">
<span id="loadContent">Êý¾ÝÔØÈëÖÐ......</span>
</body>
</html>
ÓÐÒ»ÖֺܴóµÄ¿ÉÄÜÊÇ£¬ÁôÑÔÒÔºóûÓÐÖØдÓÊý¾Ý¿âÖÐÈ¡³öÄÚÈÝ¡£
Äã¿ÉÒÔÔÚ´¦ÀíÁôÑÔºó£¬Ìí¼ÓÖØлñÈ¡Êý¾Ý¿âÄÚÈݵÄÓï¾ä¡£
´ò²»¿ª¡£¡£¡£
Ïà¹ØÎÊ´ð£º
µ±ÖªµÀÒ»¸öÈÕÆÚ£¬ÈçºÎ°ÑÕâ¸öÈÕÆÚËùÔÚÑ®µÄÇ°ºóÁ½¸öÈÕÆÚÈ¡³ö
±ÈÈçÊäÈë20090905£¬¾ÍÊäÈë20090901 20090910
Êä³ö20090901 20090910
È¡µÃÌìÊýºó×÷Ò»ÏÂÅжÏÔÙ°ÑÕâ¸ö·½·¨ÓÃÏÂvoid set(int field, int value)
......
ÎÒJSPµÄÒ³ÃæÊÇ£º
<%@ page language="java" contentType="text/html; charset=gb2312"
%>
<script>
function Save(){
xmlHttp=GetXmlHttpObject()
if(xmlHttp==nul ......
ÎÒÔÚ javaºËÐļ¼ÊõÉÏ ¿´ÁËÒ»¸ö ÀûÓà Java socket emailµÄÀý×Ó ¿ÉÊÇÔõôҲ ²»³É¹¦ Ϊʲô£¿
Ô´Âë
Java code:
package cn.com.test.email;
import java.awt.GridBagLayout;
import java.awt.event.Action ......
ÔõôÑù½«id´«¹ýÈ¥°¡£¿£¿£¿ÊǼòµ¥µÄ´«¡£¡£¡£ÔÚµØÖ·À¸ÖÐдidºÅ
LZ ºÃÓÄĬ£¡²»ÖªµÀÄãµÄÒâ˼£¿
ÊÇÏë°ÑID ´«µ½ACTION ? ͨ¹ýURl id=?
²»¹»Ïêϸ ±ðÈ˲»ÖªµÀÔõÑù°ïÄã
../XXXXX.do?id=XXXX&id2=XXXXX
......