﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>语源科技BlogJava-BearRui(AK-47) 的Blog</title><link>http://www.blogjava.net/BearRui/</link><description /><language>zh-cn</language><lastBuildDate>Mon, 16 Mar 2026 20:57:27 GMT</lastBuildDate><pubDate>Mon, 16 Mar 2026 20:57:27 GMT</pubDate><ttl>60</ttl><item><title>产生唯一随机码的方法分析。</title><link>http://www.blogjava.net/BearRui/archive/2010/10/19/unique_random_code.html</link><dc:creator>BearRui(AK-47)</dc:creator><author>BearRui(AK-47)</author><pubDate>Tue, 19 Oct 2010 03:24:00 GMT</pubDate><guid>http://www.blogjava.net/BearRui/archive/2010/10/19/unique_random_code.html</guid><wfw:comment>http://www.blogjava.net/BearRui/comments/335540.html</wfw:comment><comments>http://www.blogjava.net/BearRui/archive/2010/10/19/unique_random_code.html#Feedback</comments><slash:comments>22</slash:comments><wfw:commentRss>http://www.blogjava.net/BearRui/comments/commentRss/335540.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/BearRui/services/trackbacks/335540.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 现在的WEB中经常会需要产生一些邀请码、激活码。需要是唯一并且随机的。下面总结下一些常用的产生随机码的方法，并分享自己的1个方法:&nbsp;&nbsp;<a href='http://www.blogjava.net/BearRui/archive/2010/10/19/unique_random_code.html'>阅读全文</a><img src ="http://www.blogjava.net/BearRui/aggbug/335540.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/BearRui/" target="_blank">BearRui(AK-47)</a> 2010-10-19 11:24 <a href="http://www.blogjava.net/BearRui/archive/2010/10/19/unique_random_code.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>URL中允许携带sessionid带来的安全隐患。</title><link>http://www.blogjava.net/BearRui/archive/2010/08/23/URL_SESSION_ID_LEEK.html</link><dc:creator>BearRui(AK-47)</dc:creator><author>BearRui(AK-47)</author><pubDate>Mon, 23 Aug 2010 13:00:00 GMT</pubDate><guid>http://www.blogjava.net/BearRui/archive/2010/08/23/URL_SESSION_ID_LEEK.html</guid><wfw:comment>http://www.blogjava.net/BearRui/comments/329710.html</wfw:comment><comments>http://www.blogjava.net/BearRui/archive/2010/08/23/URL_SESSION_ID_LEEK.html#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://www.blogjava.net/BearRui/comments/commentRss/329710.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/BearRui/services/trackbacks/329710.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 很多WEB开发语言为了防止浏览器禁止了cookie而无法识别用户，允许在URL中携带sessionid，这样虽然方便，但却有可能引起钓鱼的安全漏洞。&nbsp;&nbsp;<a href='http://www.blogjava.net/BearRui/archive/2010/08/23/URL_SESSION_ID_LEEK.html'>阅读全文</a><img src ="http://www.blogjava.net/BearRui/aggbug/329710.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/BearRui/" target="_blank">BearRui(AK-47)</a> 2010-08-23 21:00 <a href="http://www.blogjava.net/BearRui/archive/2010/08/23/URL_SESSION_ID_LEEK.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JS 实现完美include</title><link>http://www.blogjava.net/BearRui/archive/2010/08/09/js_include.html</link><dc:creator>BearRui(AK-47)</dc:creator><author>BearRui(AK-47)</author><pubDate>Mon, 09 Aug 2010 00:29:00 GMT</pubDate><guid>http://www.blogjava.net/BearRui/archive/2010/08/09/js_include.html</guid><wfw:comment>http://www.blogjava.net/BearRui/comments/328275.html</wfw:comment><comments>http://www.blogjava.net/BearRui/archive/2010/08/09/js_include.html#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://www.blogjava.net/BearRui/comments/commentRss/328275.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/BearRui/services/trackbacks/328275.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要:      js为什么需要include？让我们想想这样1个场景，a.js 需要用到1个公用的common.js，当然你可以在用到a.js的页面使用，但假设有5个页面用到了a.js，你是不是要写5遍<script。而且要是以后a.js 又需要引用common2.js，你是不是又的修改5个页面了？	&nbsp;&nbsp;<a href='http://www.blogjava.net/BearRui/archive/2010/08/09/js_include.html'>阅读全文</a><img src ="http://www.blogjava.net/BearRui/aggbug/328275.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/BearRui/" target="_blank">BearRui(AK-47)</a> 2010-08-09 08:29 <a href="http://www.blogjava.net/BearRui/archive/2010/08/09/js_include.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>基于模板的excel导出</title><link>http://www.blogjava.net/BearRui/archive/2010/08/03/freemarker_excel_export.html</link><dc:creator>BearRui(AK-47)</dc:creator><author>BearRui(AK-47)</author><pubDate>Tue, 03 Aug 2010 13:18:00 GMT</pubDate><guid>http://www.blogjava.net/BearRui/archive/2010/08/03/freemarker_excel_export.html</guid><wfw:comment>http://www.blogjava.net/BearRui/comments/327842.html</wfw:comment><comments>http://www.blogjava.net/BearRui/archive/2010/08/03/freemarker_excel_export.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.blogjava.net/BearRui/comments/commentRss/327842.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/BearRui/services/trackbacks/327842.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 产品中有很多模块需要导出excel功能，导出excel几乎都是把页面已经显示出来的数据列表导出为excel。但后台使用poi生成excel却要1个单元格1个单元格的去编写。每个模块都需要单独写导出excel的代码，导致代码里充斥了createRow,createCell,setCellValue的代码。但这不是要命的，要命的是当前台数据列表格式变了的时候，后台生成excel代码的修改非常麻烦，特别是当产品经理要求在excel中也要保留WEB样式的时候(背景色，字体色，宽度)，就只能oh shit！&nbsp;&nbsp;<a href='http://www.blogjava.net/BearRui/archive/2010/08/03/freemarker_excel_export.html'>阅读全文</a><img src ="http://www.blogjava.net/BearRui/aggbug/327842.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/BearRui/" target="_blank">BearRui(AK-47)</a> 2010-08-03 21:18 <a href="http://www.blogjava.net/BearRui/archive/2010/08/03/freemarker_excel_export.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>实现if elseif else的jsp标签。</title><link>http://www.blogjava.net/BearRui/archive/2010/07/28/jsp_if_elseif_else_tag.html</link><dc:creator>BearRui(AK-47)</dc:creator><author>BearRui(AK-47)</author><pubDate>Wed, 28 Jul 2010 08:13:00 GMT</pubDate><guid>http://www.blogjava.net/BearRui/archive/2010/07/28/jsp_if_elseif_else_tag.html</guid><wfw:comment>http://www.blogjava.net/BearRui/comments/327333.html</wfw:comment><comments>http://www.blogjava.net/BearRui/archive/2010/07/28/jsp_if_elseif_else_tag.html#Feedback</comments><slash:comments>29</slash:comments><wfw:commentRss>http://www.blogjava.net/BearRui/comments/commentRss/327333.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/BearRui/services/trackbacks/327333.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 相信很多使用jstl的朋友都抱怨过，为什么jstl只有<c:if 而没有elseif、else。当需要判断多个条件的时候，只能写多个<c:if 或者使用<c:choose。&nbsp;&nbsp;<a href='http://www.blogjava.net/BearRui/archive/2010/07/28/jsp_if_elseif_else_tag.html'>阅读全文</a><img src ="http://www.blogjava.net/BearRui/aggbug/327333.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/BearRui/" target="_blank">BearRui(AK-47)</a> 2010-07-28 16:13 <a href="http://www.blogjava.net/BearRui/archive/2010/07/28/jsp_if_elseif_else_tag.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>记一复杂页面的前端优化(2) - 其他优化</title><link>http://www.blogjava.net/BearRui/archive/2010/07/20/Tally_Optimization2.html</link><dc:creator>BearRui(AK-47)</dc:creator><author>BearRui(AK-47)</author><pubDate>Tue, 20 Jul 2010 07:54:00 GMT</pubDate><guid>http://www.blogjava.net/BearRui/archive/2010/07/20/Tally_Optimization2.html</guid><wfw:comment>http://www.blogjava.net/BearRui/comments/326646.html</wfw:comment><comments>http://www.blogjava.net/BearRui/archive/2010/07/20/Tally_Optimization2.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/BearRui/comments/commentRss/326646.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/BearRui/services/trackbacks/326646.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 上一篇 "记一复杂页面的前端优化(1) - 不一样的延迟加载，"	说了下对弹出窗口的优化，接下来说说其他的优化.&nbsp;&nbsp;<a href='http://www.blogjava.net/BearRui/archive/2010/07/20/Tally_Optimization2.html'>阅读全文</a><img src ="http://www.blogjava.net/BearRui/aggbug/326646.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/BearRui/" target="_blank">BearRui(AK-47)</a> 2010-07-20 15:54 <a href="http://www.blogjava.net/BearRui/archive/2010/07/20/Tally_Optimization2.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>记一复杂页面的前端优化(1) - 不一样的延迟加载</title><link>http://www.blogjava.net/BearRui/archive/2010/07/14/Tally_Optimization.html</link><dc:creator>BearRui(AK-47)</dc:creator><author>BearRui(AK-47)</author><pubDate>Wed, 14 Jul 2010 00:50:00 GMT</pubDate><guid>http://www.blogjava.net/BearRui/archive/2010/07/14/Tally_Optimization.html</guid><wfw:comment>http://www.blogjava.net/BearRui/comments/326033.html</wfw:comment><comments>http://www.blogjava.net/BearRui/archive/2010/07/14/Tally_Optimization.html#Feedback</comments><slash:comments>11</slash:comments><wfw:commentRss>http://www.blogjava.net/BearRui/comments/commentRss/326033.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/BearRui/services/trackbacks/326033.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 刚刚做完1个复杂页面的前端性能优化，这里的优化是针对这个页面具体的需求单独做的优化，所以这里不会谈哪些减少http请求，合并压缩js,css，图片合并等等。因为这些是所有页面都需要做的，如果需要了解这些，可以参考我这篇文章：&nbsp;&nbsp;<a href='http://www.blogjava.net/BearRui/archive/2010/07/14/Tally_Optimization.html'>阅读全文</a><img src ="http://www.blogjava.net/BearRui/aggbug/326033.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/BearRui/" target="_blank">BearRui(AK-47)</a> 2010-07-14 08:50 <a href="http://www.blogjava.net/BearRui/archive/2010/07/14/Tally_Optimization.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>LESS 让css也支持变量，运算符，include,嵌套规则等等</title><link>http://www.blogjava.net/BearRui/archive/2010/07/01/less.html</link><dc:creator>BearRui(AK-47)</dc:creator><author>BearRui(AK-47)</author><pubDate>Thu, 01 Jul 2010 00:58:00 GMT</pubDate><guid>http://www.blogjava.net/BearRui/archive/2010/07/01/less.html</guid><wfw:comment>http://www.blogjava.net/BearRui/comments/324931.html</wfw:comment><comments>http://www.blogjava.net/BearRui/archive/2010/07/01/less.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.blogjava.net/BearRui/comments/commentRss/324931.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/BearRui/services/trackbacks/324931.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 最近在网上看到1个很有意思的CSS扩展，这里介绍给大家。LESS 最早是1个ruby的gem，用于扩展css的语法，用了LESS后，可以在css中使用变量，运算符，include,嵌套规则等等。现在LESS出了js版本，让我们一起来看看LESS能为我们带来什么吧?&nbsp;&nbsp;<a href='http://www.blogjava.net/BearRui/archive/2010/07/01/less.html'>阅读全文</a><img src ="http://www.blogjava.net/BearRui/aggbug/324931.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/BearRui/" target="_blank">BearRui(AK-47)</a> 2010-07-01 08:58 <a href="http://www.blogjava.net/BearRui/archive/2010/07/01/less.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>CSS技巧 — 不使用图片实现圆角、阴影、渐变等功能</title><link>http://www.blogjava.net/BearRui/archive/2010/06/25/css_tip_round_gradients_shadow.html</link><dc:creator>BearRui(AK-47)</dc:creator><author>BearRui(AK-47)</author><pubDate>Fri, 25 Jun 2010 00:52:00 GMT</pubDate><guid>http://www.blogjava.net/BearRui/archive/2010/06/25/css_tip_round_gradients_shadow.html</guid><wfw:comment>http://www.blogjava.net/BearRui/comments/324357.html</wfw:comment><comments>http://www.blogjava.net/BearRui/archive/2010/06/25/css_tip_round_gradients_shadow.html#Feedback</comments><slash:comments>32</slash:comments><wfw:commentRss>http://www.blogjava.net/BearRui/comments/commentRss/324357.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/BearRui/services/trackbacks/324357.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: UI要求越来越高，界面越做越华丽，给我们开发人员带来的就是使用大量的背景图片，下面介绍一些通过css(不使用图片或少使用图片)来实现一些很常见的效果:<br>圆角、阴影、渐变等等。&nbsp;&nbsp;<a href='http://www.blogjava.net/BearRui/archive/2010/06/25/css_tip_round_gradients_shadow.html'>阅读全文</a><img src ="http://www.blogjava.net/BearRui/aggbug/324357.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/BearRui/" target="_blank">BearRui(AK-47)</a> 2010-06-25 08:52 <a href="http://www.blogjava.net/BearRui/archive/2010/06/25/css_tip_round_gradients_shadow.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>名站技术分析 — facebook奇特的页面加载技术</title><link>http://www.blogjava.net/BearRui/archive/2010/06/17/facebook_html_chunk.html</link><dc:creator>BearRui(AK-47)</dc:creator><author>BearRui(AK-47)</author><pubDate>Thu, 17 Jun 2010 03:05:00 GMT</pubDate><guid>http://www.blogjava.net/BearRui/archive/2010/06/17/facebook_html_chunk.html</guid><wfw:comment>http://www.blogjava.net/BearRui/comments/323690.html</wfw:comment><comments>http://www.blogjava.net/BearRui/archive/2010/06/17/facebook_html_chunk.html#Feedback</comments><slash:comments>13</slash:comments><wfw:commentRss>http://www.blogjava.net/BearRui/comments/commentRss/323690.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/BearRui/services/trackbacks/323690.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要:     没事使用代理上了下facebook，注册进入个人首页后，习惯性的查看源代码，发现了1个很有意思的现象，首页内容不少，但源代码中HTML的代码却很少，但去多出了很多段的javascript代码，这些js代码都是用于动态生成html的，facebook为什么需要这样做了？出于职业习惯，研究研究：&nbsp;&nbsp;<a href='http://www.blogjava.net/BearRui/archive/2010/06/17/facebook_html_chunk.html'>阅读全文</a><img src ="http://www.blogjava.net/BearRui/aggbug/323690.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/BearRui/" target="_blank">BearRui(AK-47)</a> 2010-06-17 11:05 <a href="http://www.blogjava.net/BearRui/archive/2010/06/17/facebook_html_chunk.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>