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

jspµÇ¼ҳÃæÖÐÇå³ýacegiµÄµÇ¼»º´æÐÅÏ¢

 ÎÒµÄϵͳʹÓÃacegiµÇ¼ÈÏÖ¤£¬²¢ÇÒÅäÖÃÓû§»º´æ
<!-- »º´æÆ÷,ΪuserCacheBackendÌṩ»º´æ¹ÜÀí¡£ -->
 <bean id="cacheManager"
  class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean" />
<!-- EhCacheÒ»°ãÓÃ;ÈçÏ£ºHibernate»º´æ£¬DAO»º´æ£¬°²È«ÐÔƾ֤»º´æ£¨Acegi£©£¬Web»º´æ£¬Ó¦Óó־û¯ºÍ·Ö²¼Ê½»º´æ¡£ -->
 <bean id="userCacheBackend"
  class="org.springframework.cache.ehcache.EhCacheFactoryBean">
  <property name="cacheManager">
   <ref local="cacheManager" />
  </property>
  <property name="cacheName">
   <value>userCache</value>
  </property>
 </bean>
 <!-- Óû§»º´æÆ÷£¬ÎªdaoAuthenticationProviderÈÏÖ¤Æ÷Ìṩ»º´æ¹ÜÀí¡£ -->
 <bean id="userCache"
  class="org.springframework.security.providers.dao.cache.EhCacheBasedUserCache">
  <property name="cache">
   <ref local="userCacheBackend" />
  </property>
 </bean>
<!-- dao²ãÈÏÖ¤,ͨ¹ýuserDetailService»ñµÃÓû§ÐÅÏ¢ -->
 <bean id="daoAuthenticationProvider"
  class="org.springframework.security.providers.dao.DaoAuthenticationProvider">
  <property name="userDetailsService">
   <ref local="jdbcDaoImpl" />
  </property>
  
  <property name="userCache">
   <ref local="userCache" />
  </property>
 </bean>
µ±Óû§³É¹¦µÇ¼ºó£¬µÇ¼ÐÅÏ¢±»»º´æÔÚuserCache£¬¼õÉÙÊý¾Ý¿âµÄ¶ÁÈ¡£¬Èç¹ûÏëÒªÇå³ý»º´æÖÐÊý¾Ý£¬¿ÉÒÔÓÃÒÔÏ·½·¨£º
WebApplicationContext wac = WebApplicationContextUtils.getRequiredWebApplicationContext(this.getServletContext());
 
 //Óû§µÇ¼ÐÅÏ¢´æÔÚcacheÖУ¬Òò´ËÐèÒªÇå³ýcache
 CacheManager mange=(CacheManager)wac.getBean("cacheManager");
 if (mange.cacheExists("


Ïà¹ØÎĵµ£º

JspÉú³É¾²Ì¬Ò³Ãæ

ΪÁ˼õÇá·þÎñÆ÷ѹÁ¦£¬½«Ô­À´µÄÎÄÕ¹ÜÀíϵͳÓÉJSPÎļþµÄ´ÓÊý¾Ý¿âÖÐÈ¡Êý¾ÝÏÔʾ¸ÄΪÓÉjspÉú³É¾²Ì¬htmlÎļþºóÖ±½Ó·ÃÎÊhtmlÎļþ¡£Ê×ÏÈÓ¦´´½¨Ò»¸öÄ£°åÎļþ£¬ÎļþÃûºÍÎļþºó׺¿ÉÒÔËæÒ⣬µ«ÎÒÒ»°ã³£ÓõĻ¹ÊÇ *.template £¬Òò´Ë£¬ÕâÀï¾ÍÒÔ template.template ΪÀý( ½«Ä£°åÎļþ·ÅÈë /WEB-INF/templates/ Îļþ¼ÐÏ )£ºÏÂÃæÊÇÒ»¸ö¼òµ¥µÄ ......

jspµÇ¼ÑéÖ¤´úÂë


image.jspÓÃÓÚÉú³ÉÊý×ÖͼƬ
<%@ page contentType="image/jpeg;charset=gb2312" import="java.awt.*,
java.awt.image.*,java.util.*,javax.imageio.*" %>
<%!
Color getRandColor(int fc,int bc){//¸ø¶¨·¶Î§»ñµÃËæ»úÑÕÉ«
          Random random = new Rand ......

jspÉÏ´«×é¼þʹÓúͽéÉÜ

jspʹÓÃ×é¼þ½øÐÐÎļþÉÏ´«
WEBÎļþÉÏ´«¿ÉÄÜÊÇÍøÕ¾½¨ÉèÖÐ×î³£ÓõŦÄÜÖ®Ò»£¬ÎÒÔÚÏîÄ¿¿ª·¢Öм¸ºõ¶¼ÐèҪʵÏÖÎļþÉÏ´«¹¦ÄÜ£®Ç°¶Îʱ¼ä×Ô¼ºËѼ¯ÁËһЩÉÏ´«×é¼þ£®ÕâƪÎÄÕÂÖн«½éÉÜÕâЩ×é¼þµÄʹÓ÷½·¨£¬²¢ÇұȽϸ÷×ÔµÄÓÅÁÓ£®
Ò»£¬smartupload×é¼þ£®
ÎÒÏëÖ»Òª×ö¸öÎļþÉÏ´«µÄÅóÓѶ¼ÖªµÀÕâ¸ö×é¼þ£¬ÎÒÈÏʶµÄÈËÖÐʹÓÃ×î¶àµÄÒ²ÊÇËü£¡ÎÒ¸ ......

FCKeditor jsp ÅäÖà ʹÓÃ

FCKeditor jsp ÅäÖà ʹÓÃ
2009-04-07 16:57
FCKeditorÊÇÒ»¿î¿çƽ̨µÄÔÚÏ߱༭Æ÷£¬µ½ÎÒ·¢²¼±¾ÎÄ£¬FCKeditorµÄ¹Ù·½°æ±¾ÒѾ­·¢Õ¹µ½ÁË2.6.4
µã»÷½øÈë ¹ÙÍø
1¡¢Ê×Ïȵǽwww.fckeditor.net/downloadÏÂÔØFCKeditorµÄ×îа汾£¬ÐèÒªÏÂÔØ2¸öѹËõ°ü£¬Ò»¸öÊÇ»ù±¾Ó¦Óã¬ÁíÒ»¸öÊÇÔÚΪÔÚjspÏÂËù×¼±¸µÄÅäÖá£
     ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ