java - Web ¿ª·¢ / ·Ç¼¼ÊõÇø
class SearchSorter
{
/** ÈÕÖ¾¼Ç¼¶ÔÏó */
private static final DebugLog log = LogUtil.getDebugLog(SearchSorter.class);
private static final long ONE_MINUTE = 1000 * 60;
private static SearchSorter instance = new SearchSorter();
/** ÊéID->ÅÅÐÐÖµ ¹ØÏµ±í */
private HashMap<Long, Long> map = new HashMap<Long, Long>();
/** ÅÅÐаñÀàÐÍ */
private int rankType = -1;
/** ÅÅÐаñʱ¼äÀàÐÍ */
private int ranDateType = -1;
/** ×îºóµÄmapË¢ÐÂʱ¼ä */
private long lastRefreshTime = 0;
/** ÊÇ·ñÐèҪˢбêʶ */
private volatile boolean needRefresh = true;
/** map³õʼ»¯Ëø */
private ReentrantLock initLock = new ReentrantLock();
/**
* ·µ»Ø±¾À´µÄµ¥ÊµÀý
*/
public static SearchSorter getInstance(int rankType, int ranDateType)
{
if (instance.rankType != rankType || instance.ranDateType != ranDateType)
{
instance.needRefresh = true;
instance.rankType = rankType;
instance.ran
Ïà¹ØÎÊ´ð£º
Ò»¸öJSPÒ³Ãæ½ÓÊÕÆäËûÒ³ÃæÌá½»¹ýÀ´µÄFORM±íµ¥£¬µ«ÊÇÒªÇóÖ»½ÓÊÕµ±Ç°Õ¾µã¼°Æä×ÓÕ¾µãÌá½»¹ýÀ´µÄFORM±íµ¥£¬ÆäËûÕ¾µãÌá½»¹ýÀ´µÄ±íµ¥²»½ÓÊÕ£¬Õâ¸öÔõôÉèÖã¿
ÓùýÂËÆ÷
filter
½«µ±Ç°Õ¾µã¼°Æä×ÓÕ¾µã·ÅÒ»¸öĿ¼
È» ......
¸÷·´óÏÀ¸ø¸ö˼·£¬²»ÊÇÔÚÏßµÄÄÇÖÖ£¬¾ÍÊÇÒ»¸ö×öÆÕͨµÄÓ¦ÓóÌÐò¡£
´Ê¿âÔõôÉú³ÉÄØ£¿
²»»á¡£
ÒýÓÃ
´Ê¿âÔõôÉú³ÉÄØ£¿
ÕÒ±¾×Öµä
ÒýÓÃ
´Ê¿âÔõôÉú³ÉÄØ£¿
Êý¾Ý¿â ºÇºÇ
ÓÃmap ¼üÖµ¶ÔÓ¦
Èç¹ûÓÃÊý¾Ý¿ ......
´úÂëÈçÏ £¬ÎÒÏëͨ¹ý´úÀí·ÃÎÊÒ»Ð©ÍøÖ·£¬µ«ÊDz»ÖªµÀÈçºÎ²âÊÔ´úÀí³É¹¦£¬ÎÒÏëͨ¹ý·ÃÎÊ¡°http://www.blogger.com/¡±À´¿´¿´ÊÇ·ñ´úÀí³É¹¦£¬µ«ÊÇÒ²²»ÄÜ·ÃÎÊ£¬³öÏÖÒì³£¡°Unexpected end of file from server¡±£¬µ«ÊÇÈç¹û²»Õâ ......
ÒªÇóÊÇÊäÈëÒ»¸öÊý×Ö£¬È»ºó°´ÕÕÏÂÃæµÄ·½Ê½Êä³ö£¨Ë³Ê±ÕëÐýת£©
±ÈÈç ÊäÈë 2
ÔòÊä³öΪ
1 2 3
8 9 4
7 6 5
ÊäÈë 6
ÔòÊä³öΪ
1 2 3 4 5 6
20 21 22 23 24 7
19 32 33 34 25 8
18 31 36 ......
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 52 in the jsp file: /vip_info.jsp
ÕË cannot be resolved
49: <table border="1& ......