锘??xml version="1.0" encoding="utf-8" standalone="yes"?>日本在线观看一区二区三区,伊人久久大香线蕉av一区二区,成人国产精品av http://www.aygfsteel.com/kavinhub/Kavin zh-cn Wed, 18 Jun 2025 18:40:06 GMT Wed, 18 Jun 2025 18:40:06 GMT 60 Oracle http://www.aygfsteel.com/kavinhub/archive/2013/02/04/395112.htmlKavin Kavin Mon, 04 Feb 2013 08:47:00 GMT http://www.aygfsteel.com/kavinhub/archive/2013/02/04/395112.html http://www.aygfsteel.com/kavinhub/comments/395112.html http://www.aygfsteel.com/kavinhub/archive/2013/02/04/395112.html#Feedback 0 http://www.aygfsteel.com/kavinhub/comments/commentRss/395112.html http://www.aygfsteel.com/kavinhub/services/trackbacks/395112.html DECLARE v_test_varray VARCHAR_VARRAY_TYPE := VARCHAR_VARRAY_TYPE(' 57610 ' , ' 61368 ' , ' 73111 ' , ' 37208 ' , ' 57639 ' ); V_SQL VARCHAR2 (32767 ); V_SQL_IN VARCHAR2 (32767 ); V_SQL_ROWNUM VARCHAR2 (32767 ); V_ORDER VARCHAR2 (32767 ); TYPE number_index_by_string IS TABLE OF NUMBER INDEX BY VARCHAR2 (10 ); v_evt_id_list NUMBER_INDEX_BY_STRING; Begin -- orderArray VARCHAR_VARRAY_TYPE%type := VARCHAR_VARRAY_TYPE('11','22','33','44','55'); /* FOR i IN v_test_varray.FIRST .. v_test_varray.LAST LOOP IF v_test_varray.EXISTS(i) THEN DBMS_OUTPUT.put_line(i); END IF; END LOOP; */ V_ORDER := Func_LIST_TO_ORDER(v_test_varray, ' A.COL_NAME ' ); DBMS_OUTPUT.put_line(' V_ORDER= ' || V_ORDER); V_SQL := ' SELECT * FROM TABLEA A ' || ' WHERE ' || '' || '' || '' || '' ; V_SQL := V_SQL || ' ( ' || FUNC_LIST_TO_IN_SQL(v_test_varray, ' COL_NAME ' , '''' ) || ' ) ' ; V_SQL := V_SQL || ' ORDER by ( ' || V_ORDER || ' ) ' ; DBMS_OUTPUT.put_line(' V_SQL= ' || V_SQL);-- - SET v_evt_id_list number_index_by_string FOR i IN v_test_varray.FIRST .. v_test_varray.LAST LOOP IF v_test_varray.EXISTS (i) THEN DBMS_OUTPUT.put_line (i); v_evt_id_list(v_test_varray(i)) := i; END IF ; END LOOP; -- - TEST v_evt_id_list number_index_by_string FOR i IN v_evt_id_list.FIRST .. v_evt_id_list.LAST LOOP IF v_evt_id_list.EXISTS (i) THEN DBMS_OUTPUT.put_line (i|| ' = ' || v_evt_id_list(i) ); END IF ; END LOOP; -- GET v_evt_id_list number_index_by_string DBMS_OUTPUT.put_line (v_evt_id_list(' 73111 ' ) ); ]]>Auto complete with Jquery http://www.aygfsteel.com/kavinhub/archive/2012/06/07/380278.htmlKavin Kavin Thu, 07 Jun 2012 14:39:00 GMT http://www.aygfsteel.com/kavinhub/archive/2012/06/07/380278.html http://www.aygfsteel.com/kavinhub/comments/380278.html http://www.aygfsteel.com/kavinhub/archive/2012/06/07/380278.html#Feedback 0 http://www.aygfsteel.com/kavinhub/comments/commentRss/380278.html http://www.aygfsteel.com/kavinhub/services/trackbacks/380278.html 1. config servlet in web.xml <servlet> <servlet-name>addressData</servlet-name> <servlet-class>com.xxx.webapp.AddressDataAutoCompleteServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> 2. set autocomplete in JSP $().ready(function() { $("#addressLine1").autocomplete("<%=StrUtils.filterStr(request.getContextPath())%>/servlet/addressData?paramName=addressLine"); $("#addressLine2").autocomplete("<%=StrUtils.filterStr(request.getContextPath())%>/servlet/addressData?paramName=addressLine2"); $("#addressLine3").autocomplete("<%=StrUtils.filterStr(request.getContextPath())%>/servlet/addressData?paramName=addressLine3"); $("#addressCity").autocomplete("<%=StrUtils.filterStr(request.getContextPath())%>/servlet/addressData?paramName=addressCity"); $("#addressPostCode").autocomplete("<%=StrUtils.filterStr(request.getContextPath())%>/servlet/addressData?paramName=addressPostCode"); $("#firstFocusObj").focus(); }); <html:text name="" tabindex="9" style="color: grey;" onclick="clearAddressValue(this)" styleId="addressLine1" value='<%=request.getAttribute("postalAddress1") == null ? defalutAddressValue : (String)request.getAttribute("postalAddress1")%>' property="TLContactDetailForm.postalAddress1" size="50" maxlength="50" styleClass="inputText2"></html:text> <input type="text" name="TLContactDetailForm.postalAddress1" maxlength="50" size="50" tabindex="9" value="Start typing your address and we will finish it for you" onclick="clearAddressValue(this)" id="addressLine1" style="color: grey;" class="inputText2">
3. return addresses in java class: AddressDataAutoCompleteServlet.java
package com.xxxxxx.webapp;
import com.xxxxxx.exception.ServiceException; import com.xxxxxx.util.StrUtils; import com.xxxxxx.webapp.context.ServiceLocator; import com.xxxxxx.util.AddressShow;
import java.io.IOException; import java.io.PrintWriter;
import java.util.ArrayList; import java.util.List;
import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse;
import org.apache.log4j.Logger;
/** * Servlet implementation class AddressDataAutoCompleteServlet */ public class AddressDataAutoCompleteServlet extends HttpServlet { private static final long serialVersionUID = 1L; public Logger LOG = Logger.getLogger(this.getClass().getName());
/** * @see HttpServlet#HttpServlet() */ public AddressDataAutoCompleteServlet() { super(); } /** * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse * response) */ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String paramName = request.getParameter("paramName"); String paramValue = request.getParameter("q"); LOG.info(paramName); LOG.info(paramValue);
List list = new ArrayList();
try { list = ServiceLocator.getAddressService() .searchAddressList(paramName, paramValue); } catch (ServiceException e) { LOG.error(e.getMessage(),e); }
PrintWriter t_PW = response.getWriter(); for (int i = 0; i < list.size(); i++) { String address = StrUtils.toTitleCase((String) list.get(i));
if (paramName.equals("addressLine")) { AddressShow.showAddress(t_PW,address); } else if (paramName.equals("addressLine1")) { AddressShow.showAddress(t_PW,address); } else if (paramName.equals("addressLine2")) { AddressShow.showAddress(t_PW,address); } else if (paramName.equals("addressLine3")) { AddressShow.showAddress(t_PW,address); } else if (paramName.equals("addressCity")) { AddressShow.showAddress(t_PW,address); } else if (paramName.equals("addressPostCode")) { AddressShow.showAddress(t_PW,address); } } }
/** * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse * response) */ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { this.doGet(request, response); } }
------ AddressShow.java
package com.intl.cigna.util;
import java.io.PrintWriter;
public class AddressShow { public static void showAddress(PrintWriter pw, String input) { pw.write(input + "\n");
} }
]]>Security Test: Unauthorized access to users data via Browser鈥檚 Cach http://www.aygfsteel.com/kavinhub/archive/2011/06/09/352004.htmlKavin Kavin Thu, 09 Jun 2011 09:53:00 GMT http://www.aygfsteel.com/kavinhub/archive/2011/06/09/352004.html http://www.aygfsteel.com/kavinhub/comments/352004.html http://www.aygfsteel.com/kavinhub/archive/2011/06/09/352004.html#Feedback 0 http://www.aygfsteel.com/kavinhub/comments/commentRss/352004.html http://www.aygfsteel.com/kavinhub/services/trackbacks/352004.html Unauthorized access to users data via Browser’s Cach
Solution:
1 <% response.setHeader( " Pragma " , " no-cache " ); 2 response.setHeader( " Cache-Control " , " no-store " ); 3 response.setHeader( " Expires " , " 0 " ); 4 response.setDateHeader( " Expires " , - 1 ); 5 %> 6
]]> SSH2涓紝鐩存帴鑾峰彇SEQUENCE鐨凬EXTVAL 錛屼嬌鐢∣racleSequenceMaxValueIncrementer http://www.aygfsteel.com/kavinhub/archive/2011/05/06/349674.htmlKavin Kavin Fri, 06 May 2011 06:24:00 GMT http://www.aygfsteel.com/kavinhub/archive/2011/05/06/349674.html http://www.aygfsteel.com/kavinhub/comments/349674.html http://www.aygfsteel.com/kavinhub/archive/2011/05/06/349674.html#Feedback 0 http://www.aygfsteel.com/kavinhub/comments/commentRss/349674.html http://www.aygfsteel.com/kavinhub/services/trackbacks/349674.html
浣跨敤Spring鐨?綾?org.springframework.jdbc.support.incrementer.OracleSequenceMaxValueIncrementer
Spring閰嶇疆鏂囦歡錛?br />
1 < bean id = " userDao " class = " com.xx.dao.impl.UserDAOImpl " >
2 < property name = " sessionFactory " ref = " sessionFactory " />
3 < property name = " seqGenerator " ref = " seqDispGenerator " ></ property >
5 </ bean >
6
7 < bean id = " seqDispGenerator " class = " org.springframework.jdbc.support.incrementer.OracleSequenceMaxValueIncrementer " >
8 < property name = " dataSource " ref = " dataSource " ></ property >
9 < property name = " incrementerName " >< value > SEQ_DISP_ID </ value ></ property >
10 </ bean >
UserDAOImpl.java涓紩鐢細
private OracleSequenceMaxValueIncrementer seqGenerator;
/**
* @return the seqGenerator
*/
public OracleSequenceMaxValueIncrementer getSeqGenerator() {
return seqGenerator;
}
/**
* @param seqGenerator the seqGenerator to set
*/
public void setSeqGenerator(OracleSequenceMaxValueIncrementer seqGenerator) {
this .seqGenerator = seqGenerator;
}
UserDAOImpl.java涓皟鐢細
1 System.out.println( " ---------------------- this.seqGenerator().nextIntValue= " + this .seqGenerator.nextIntValue());
]]> Hibernate ID generator 鑷畾涔変富閿敓鎴愬櫒 http://www.aygfsteel.com/kavinhub/archive/2011/05/06/349670.htmlKavin Kavin Fri, 06 May 2011 05:42:00 GMT http://www.aygfsteel.com/kavinhub/archive/2011/05/06/349670.html http://www.aygfsteel.com/kavinhub/comments/349670.html http://www.aygfsteel.com/kavinhub/archive/2011/05/06/349670.html#Feedback 0 http://www.aygfsteel.com/kavinhub/comments/commentRss/349670.html http://www.aygfsteel.com/kavinhub/services/trackbacks/349670.html
/**
*
*/
package com.ge.hc.eapp.generator;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.HibernateException;
import org.hibernate.MappingException;
import org.hibernate.dialect.Dialect;
import org.hibernate.engine.SessionImplementor;
import org.hibernate.id.Configurable;
import org.hibernate.id.IdentifierGenerator;
import org.hibernate.id.PersistentIdentifierGenerator;
import org.hibernate.type.Type;
import java.io.Serializable;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
import java.util.Properties;
/**
* @author Kavin
*
*/
public class DispNoGenerator implements IdentifierGenerator, Configurable {
private static final Log log = LogFactory.getLog(DispNoGenerator. class );
// 瀛樺偍鏈澶у肩殑鏁扮粍鐨勫閲?/span>
private static final int MAX_CAPACITY = 2000 ;
/* 鍚屾閿?nbsp; */
private static final Object lock = new Object();
// 瀛樺偍琛ㄥ瓨鍌ㄥ湪鏁扮粍涓殑绱㈠紩鍊?/span>
private static Map map = new HashMap();
// 鏈澶у兼暟緇?/span>
private static long [] seqs = new long [MAX_CAPACITY];
// 鏈澶у兼暟緇勫凡緇忎嬌鐢ㄧ殑瀹歸噺
private static int lastIndex;
// 閫掑姝ラ暱錛岄粯璁ゅ姞1
private int step = 1 ;
private String key;
private String sql;
private Connection connection;
private Class returnClass;
public Serializable generate(SessionImplementor session, Object object)
throws HibernateException {
// TODO Auto-generated method stub
connection = session.connection();
// long seq = -1;
// 鎵懼埌绱㈠紩鍊?br />
// int index = findIndex();
// // 鎶婃渶澶у煎姞1
// seqs[index] = seqs[index] + step;
//
// seq = seqs[index];
String strGenerateId = null ;
System.out.println( " this.sql= " + this .sql);
try {
long t_SeqNo = this .getSeqValue();
System.out.println( " t_SeqNo= " + t_SeqNo);
// 寰楀埌嫻佹按鍙?鏄嚜宸卞啓鐨勫伐鍏風被鐢熸垚鐨?褰㈠紡涓?00x
String seqStr = String.valueOf(t_SeqNo);
// JspFormate.currentFormateORM(seq);
// 寰楀埌yymmdd,鏄嚜宸卞啓鐨勬柟娉曞伐鍏風被鐢熸垚鐨剏ymmdd
String preDate = " 20110506 " ;
// 寰楀埌hhmmss,鏄嚜宸卞啓鐨勫伐鍏風被鑾峰彇鐨刪hmmss
// String preHour = JspFormate.dateFormateOnlyHHMMSSORM(new Date());
String preHour = " 1035 " ;
strGenerateId = preDate + preHour + seqStr;
} catch (SQLException e) {
log.error(e);
e.printStackTrace();
}
return strGenerateId;
}
/**
* 鎵懼埌琛ㄤ腑鑷姩澧為暱瀛楁瀛樺偍鍦ㄦ暟緇勪腑鐨勭儲寮曞?br />
* @return 绱㈠紩鍊?br />
*/
private int findIndex() {
int index = 0 ;
// 棣栧厛涓紦瀛樹腑鍙栧嚭绱㈠紩鍊?/span>
Integer integer = (Integer) map.get(key);
// 濡傛灉娌℃湁鎵懼埌灝變粠鏁版嵁搴撲腑璇誨嚭鏈澶у煎茍榪涜cache
if ( null == integer) {
// double check lock
synchronized (lock) {
integer = (Integer) map.get(key);
if ( null == integer) {
long maxvalue = 1 ;
try {
maxvalue = this .getSeqValue();
} catch (SQLException e) {
log.error(e);
}
maxvalue = new Long( 0 ).longValue();
integer = new Integer(lastIndex ++ );
seqs[integer.intValue()] = maxvalue;
map.put(key, integer);
}
}
}
index = integer.intValue();
return index;
}
public void configure(Type type, Properties params, Dialect d)
throws MappingException {
// 鍙栧嚭table鍙傛暟
String table = params.getProperty( " table " );
if (table == null ) {
table = params.getProperty(PersistentIdentifierGenerator.TABLE);
}
// 鍙栧嚭column鍙傛暟
String column = params.getProperty( " column " );
if (column == null ) {
column = params.getProperty(PersistentIdentifierGenerator.PK);
}
// 琛ㄧ殑sehcma鍙傛暟
String schema = params.getProperty(PersistentIdentifierGenerator.SCHEMA);
returnClass = type.getReturnedClass();
// 鍙栧嚭step鍙傛暟
String stepvalue = params.getProperty( " step " );
if (( null != stepvalue) && ! "" .equals(stepvalue.trim())) {
try {
step = Integer.parseInt(stepvalue);
} catch (Exception e) {
log.error(e);
}
}
// 鏋勯犲瓨鍌ㄥ湪Map涓殑绱㈠紩鍊肩殑key name
key = table + " _$_ " + column;
// 鏍規嵁鍙傛暟鏋勯犲彇鏈澶у肩殑SQL
sql = " select SEQ_COMPANY_ID.nextval from dual " ;
}
/**
* 鍙栨寚瀹歋EQUENCE鐨勫鹼紝涓嶅瓨鍦ㄨ褰曡繑鍥?
* @return Sequence鏈澶у?br />
* @throws SQLException if sql error occurs.
*/
private long getSeqValue() throws SQLException {
long maxvalue = 0 ;
PreparedStatement st = connection.prepareStatement(sql);
System.out.println( " ============================================ " + sql);
ResultSet rs = null ;
try {
rs = st.executeQuery();
if (rs.next()) {
maxvalue = rs.getLong( 1 );
}
sql = null ;
} finally {
if (rs != null ) {
rs.close();
}
st.close();
}
return maxvalue;
}
/**
* 鍙栨寚瀹氳〃涓璱d瀛楁鐨勬渶澶у鹼紝涓嶅瓨鍦ㄨ褰曡繑鍥?
* @return 鏈澶у?br />
* @throws SQLException if sql error occurs.
*/
private long getMaxvalue() throws SQLException {
long maxvalue = 0 ;
PreparedStatement st = connection.prepareStatement(sql);
System.out.println( " ============================================ " + sql);
ResultSet rs = null ;
try {
rs = st.executeQuery();
if (rs.next()) {
maxvalue = rs.getLong( 1 );
}
sql = null ;
} finally {
if (rs != null ) {
rs.close();
}
st.close();
}
return maxvalue;
}
}
Hibernate 閰嶇疆鏂囦歡
< id name = " userId " type = " java.lang.String " >
< column name = " USER_ID " />
< generator class = " com.xx.generator.DispNoGenerator " />
</ id >
]]> Struts2閲岄潰 s:textfield鏍囩 Date綾誨瀷鐨勬牸寮忓寲 http://www.aygfsteel.com/kavinhub/archive/2011/05/05/349578.htmlKavin Kavin Thu, 05 May 2011 04:33:00 GMT http://www.aygfsteel.com/kavinhub/archive/2011/05/05/349578.html http://www.aygfsteel.com/kavinhub/comments/349578.html http://www.aygfsteel.com/kavinhub/archive/2011/05/05/349578.html#Feedback 0 http://www.aygfsteel.com/kavinhub/comments/commentRss/349578.html http://www.aygfsteel.com/kavinhub/services/trackbacks/349578.html 闃呰鍏ㄦ枃 ]]> 濡備綍榪愯鎵撳紑windows涓嬮潰鐨剆ystem緋葷粺灞炴?/title> http://www.aygfsteel.com/kavinhub/archive/2011/04/19/348561.htmlKavin Kavin Tue, 19 Apr 2011 03:40:00 GMT http://www.aygfsteel.com/kavinhub/archive/2011/04/19/348561.html http://www.aygfsteel.com/kavinhub/comments/348561.html http://www.aygfsteel.com/kavinhub/archive/2011/04/19/348561.html#Feedback 0 http://www.aygfsteel.com/kavinhub/comments/commentRss/348561.html http://www.aygfsteel.com/kavinhub/services/trackbacks/348561.html Description :.
To bring up System Properties:
1. Click Start and then Control Panel. From the Control Panel, double click System.
2. Another way to bring up this box is to right click the My Computer on your desktop. From the menu, select Properties.
Solution:
1. 鍙傝?/span>http://www.passcape.com/windows_run_commands
闄や簡榪欎袱縐嶆柟寮忓錛岃繕鏈変竴縐嶇洿鎺ヨ繍琛?/span>system32涓嬮潰鐨勫懡浠ゆ枃浠舵柟寮?/span>
榪愯 C:"WINDOWS"system32 涓嬮潰鐨?/span>sysdm.cpl 銆?/span>
]]> 娉ㄨВ@Override 鎶ラ敊 http://www.aygfsteel.com/kavinhub/archive/2011/04/18/348511.htmlKavin Kavin Mon, 18 Apr 2011 09:32:00 GMT http://www.aygfsteel.com/kavinhub/archive/2011/04/18/348511.html http://www.aygfsteel.com/kavinhub/comments/348511.html http://www.aygfsteel.com/kavinhub/archive/2011/04/18/348511.html#Feedback 0 http://www.aygfsteel.com/kavinhub/comments/commentRss/348511.html http://www.aygfsteel.com/kavinhub/services/trackbacks/348511.html Description : @Override璇ユ爣璁版槸涓轟簡澧炲己紼嬪簭鍦ㄧ紪璇戞椂鍊欑殑媯鏌ワ紝 JDK1.5涓嬶紝濡傛灉璇ユ柟娉曞茍涓嶆槸涓涓鐩栫埗綾葷殑鏂規硶錛屽湪緙栬瘧鏃剁紪璇戝櫒灝變細鎶ュ憡閿欒銆?/span>
Analisys:
1 public class A {
2 public void method( int i) {
3 }
4 }
5
6 public class B extends A {
7 @Override
8 public void method( int i) {
9 }
10
11 // 濡傛灉濡備笅瀹氫箟錛屽氨浼氬湪緙栬瘧鏃跺嚭鐜頒竴涓敊璇紝鍥犱負涓嶆槸瑕嗙洊鐖剁被鐨勬柟娉?/span>
12 @Override
13 public void method( int i, String p_Str) {
14 }
15
16 }
17
JDK1.6姝e父錛屾敮鎸佸鎺ュ彛鐨勫疄鐜扮殑 @Override
1 public interface iA {
2
3 public void method( int i) {
4
5 }
6
7 }
8
9 public class B implements iA {
10
11 // JDK1.5涓嬩細鎶ラ敊錛孞DK1.6涓嬪彲浠?/span>
12
13 @Override
14
15 public void method( int i, int j) {
16
17 }
18
19 }
20
]]> 瀹夎Oracle Client 9/10鍚?Eclipse 鍚姩鏃剁殑JDK/JVM闂 http://www.aygfsteel.com/kavinhub/archive/2011/04/15/348335.htmlKavin Kavin Fri, 15 Apr 2011 01:53:00 GMT http://www.aygfsteel.com/kavinhub/archive/2011/04/15/348335.html http://www.aygfsteel.com/kavinhub/comments/348335.html http://www.aygfsteel.com/kavinhub/archive/2011/04/15/348335.html#Feedback 0 http://www.aygfsteel.com/kavinhub/comments/commentRss/348335.html http://www.aygfsteel.com/kavinhub/services/trackbacks/348335.html Description :
Incompatible JVM- Version 1.4.2_03 of the JVM is not suitable for th is product. Version:1.5 or greater is required.
Analisys:
瀹夎 Oracle Client 9/10鍚?/span>, Path 琚緗負 Oracle鑷甫鐨?/span>JDK 1.4, 鍚姩楂樼増鏈?/span>Eclipse(eclipse-jee-helios-SR1-win32.exe)鏃?/span>,銆灝遍粯璁ょ敤 Oracle鑷甫鐨?/span>JDK 1.4錛岃繖鏍峰氨浼氭湁闂銆?/span>
Solution:
澶氱瑙e喅鏂規
1. 淇敼鐜鍙橀噺錛氥 Path = %JAVA_HOME%"bin;%PATH%
鏉冮檺鐨勯棶棰橈紝鎴戞病鏈夐夋嫨榪欎釜瑙e喅鏂規銆?br />
2. 淇敼 Eclipse鍚姩欏癸細淇敼 Eclipse蹇嵎鏂瑰紡鐨勫睘鎬ч噷闈㈢殑鐩爣錛氥
D:"tool"eclipse-jee-helios-SR1-win32"eclipse"eclipse.exe銆 -vm "C:"Program Files"Java"jdk1.5.0_05"bin"javaw.exe"
]]>Eclipse 鎶ラ敊: class Implement Interface-> @Override function -> must override a superclass http://www.aygfsteel.com/kavinhub/archive/2011/04/07/347784.htmlKavin Kavin Thu, 07 Apr 2011 06:30:00 GMT http://www.aygfsteel.com/kavinhub/archive/2011/04/07/347784.html http://www.aygfsteel.com/kavinhub/comments/347784.html http://www.aygfsteel.com/kavinhub/archive/2011/04/07/347784.html#Feedback 0 http://www.aygfsteel.com/kavinhub/comments/commentRss/347784.html http://www.aygfsteel.com/kavinhub/services/trackbacks/347784.html 浠g爜:
Class XX implements InterfaceYY{
@override
function funcXX(){
}
}
Eclipse 鎶ラ敊: must override a superclass implements
Analisys:
1. @override 鍙互閽堝 Interface; 涓嶈繃鏈濂界敤鍙﹀涓涓猘nnotation: @implement
2. java5 java6 鏀寔娉涘瀷
3. eclipse 閲岄潰鐨刢ompile鐗堟湰鏄疛DK 5
Solution:
eclipse 閲岄潰鐨刢ompile鐗堟湰鏄疛DK 5 -> 鏀規垚 JDK6
]]>
主站蜘蛛池模板:
高邑县 |
庆云县 |
武宁县 |
泸西县 |
麻栗坡县 |
镇巴县 |
虞城县 |
沙雅县 |
顺平县 |
和林格尔县 |
巴南区 |
湖口县 |
常德市 |
安岳县 |
克山县 |
温州市 |
上栗县 |
高阳县 |
平山县 |
桓仁 |
乐陵市 |
庆城县 |
咸阳市 |
攀枝花市 |
岳池县 |
察雅县 |
大埔县 |
济南市 |
南丰县 |
苏尼特右旗 |
郁南县 |
汤阴县 |
曲阳县 |
新沂市 |
南丰县 |
宣威市 |
平山县 |
犍为县 |
龙陵县 |
泾阳县 |
高陵县 |