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

java Áª¶¯

 JSP£ºjavascript ºÍ struts²¿·Ö
<table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr>
<td>
<span class="txt1">Èý¼¶µ¥Î»£º</span>
<html:select property="oilarea" style="width:182" styleId="area" onchange="javascript:fillWell()">

<c:forEach var="lessonmameshow" items="${requestScope.team1}">
<html:option value="${lessonmameshow.id}" ><c:out value="${lessonmameshow.name}"/></html:option>
</c:forEach>
</html:select>   
<span class="txt1">¶ÓÎ飺</span>
<html:select property="oilwell" style="width:182" styleId="well">
<%
String id = (String)request.getAttribute("org");
if(request.getAttribute("org")!= null &&!"".equals(request.getAttribute("org"))){
List l = (List)request.getAttribute("ow");
for(int i=0;i<l.size();i++){
Orgteam org = (Orgteam)l.get(i);
%>
<%
if(id.equals(org.getId()+"")){
%>
<option value="<%=org.getId()%>" selected="selected"><c:out value="<%=org.getName()%>"/></option>
<%
}else{
%>
<option value="<%=org.getId()%>" ><c:out value="<%=org.getName()%>"/></option>
<%
}
}
}
%>
</html:select>    
</td>
</tr>
</table>





<SCRIPT LANGUAGE="javascript">
<% List list1 =(List) request.getAttribute("team1");%>
var wellIds = new Array(<%=list1.size()%>)
var wellNames = new Array(<%=list1.size()%>)
<%
for(int i=0;i<list1.size();i++){
Orgthreeorgs area = (Orgthreeorgs)list1.get(i);

String hql = "from huanxl.hibernate.db.Orgteam as o where o.threeorgsid="+area.getId();
DataUtil du = new DataU


Ïà¹ØÎĵµ£º

Execlµ¼Èënotes JAVA´úÀí

 import lotus.domino.*;
import java.io.*;
import java.util.Vector;
import jxl.*;
/*******************************************************************************
 * @saveSQMessageToOracle
 * @×÷ÕߣºÐ컪Ïé
 * @2009Äê10ÔÂ28ÈÕ
 * @˵Ã÷£ºExeclÎļþµÄµ¼Èë
 ********** ......

Java»ñÈ¡ÇëÇó¿Í»§¶ËµÄÕæʵIPµØÖ·

ת×Ô http://blog.csdn.net/foamflower/archive/2009/10/29/4744862.aspx
ÏñÒƶ¯Íø¹ØÒ»Ñù£¬iisforwardÕâ¸öISAPI¹ýÂËÆ÷Ò²»á¶Ôrequest¶ÔÏó½øÐÐÔÙ°ü×°£¬¸½¼ÓһЩWLSÒªÓõÄÍ·ÐÅÏ¢¡£ÕâÖÖÇé¿öÏ£¬Ö±½ÓÓÃrequest.getRemoteAddr()
ÊÇÎÞ·¨È¡µ½ÕæÕýµÄ¿Í»§IPµÄ¡£
ʵ¼ÊµÄiisforward¸½¼ÓÍ·ÈçÏ£º
WL-Proxy-Client-IP=211.161.1.239 ......

Java»ù±¾Óï·¨

 finalize·½·¨
ËüÊÇjava.lang.ObjectÀàÖеķ½·¨. ÊÇprotectedµÄ.
ȱʡʱÕâ¸ö·½·¨ÊÇ¿ÕµÄ. JavaÔËÐÐϵͳÔÚÀ¬»ø»ØÊÕʱÔÚ¶ÔÏó±»³·Ïú֮ǰµ÷ÓÃÕâ¸ö·½·¨. µ«ÓÉÓÚÀ¬»øµ¥Ôª
»ØÊÕµÄʱ¼äÊDz»È·¶¨µÄ.ËùÒÔ²»Äܹý·ÖÒÀÀµËü(ÕâºÍc++µÄÎö¹¹º¯Êý²»Í¬). 
¶øÖ»ÄÜÊÇ"ÔÚ¶ÔÏó±»³·Ïú֮ǰ"×öһЩ´¦Àí.ÀýÈç¿ÉÒÔÔÚÕâÀï¹Ø±Õ¹¹Ôì·½·¨Öдò¿ ......

JAVA´¦ÀíÈÕÆÚʱ¼ä³£Ó÷½·¨


Calendar ÀàÊÇÒ»¸ö³éÏóÀ࣬ËüΪÌض¨Ë²¼äÓëÒ»×éÖîÈç YEAR¡¢MONTH¡¢DAY_OF_MONTH¡¢HOUR µÈ ÈÕÀú×Ö¶ÎÖ®¼äµÄת»»ÌṩÁËһЩ·½·¨£¬²¢Îª²Ù×÷ÈÕÀú×ֶΣ¨ÀýÈç»ñµÃÏÂÐÇÆÚµÄÈÕÆÚ£©ÌṩÁËһЩ·½·¨¡£Ë²¼ä¿ÉÓúÁÃëÖµÀ´±íʾ£¬ËüÊǾàÀúÔª£¨¼´¸ñÁÖÍþÖαê׼ʱ¼ä 1970 Äê 1 Ô 1 ÈÕµÄ 00:00:00.000£¬¸ñÀï¸ßÀûÀú£©µÄÆ«ÒÆÁ¿¡£
Àý:
Calenda ......

JavaʵÏÖ¶ÓÁвÙ×÷


import java.util.LinkedList;  
//µ¥Ïò¶ÓÁР 
public class Queue {  
    public Queue() {  
    }  
    private LinkedList list = new LinkedList();  
    public void pu ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ