<div class="comment" data-comment-id="294439378" data-comment-user-id="2455721">
<a class="ui circular image avatar" href="https://my.oschina.net/u/2455721" target="_blank">
<div class="osc-avatar small-portrait _35x35" title="cheertt" data-user-id="2455721">
<img src="https://static.oschina.net/uploads/user/1227/2455721_50.jpg?t=1471495421000" alt="cheertt" title="cheertt">
</div>
</a>
<div class="content">
<a class="author" href="https://my.oschina.net/u/2455721" name="rpl_294439378" target="_blank">cheertt</a>
<div class="metadata">
<span class="date">2016/08/26 15:34</span>
</div>
<div class="text" data-emoji-render="">
<div class="ref"><h4>引用来自“_W_xing”的评论</h4>Model model =new Model();<br>model.** = ******;<br>这样需要安全验证.?????</div>如果Model里面的属性是私有的,外部就不能访问了。就点不出来的。
</div>
<div class="actions">
<a class="ban" ban-report="" data-id="294439378" data-obj-type="12" data-url="https://my.oschina.net/u/1019341/blog/134613#rpl_294439378">
<i class="ban icon"></i> 举报
</a>
</div>
</div>
</div>
<div class="comment" data-comment-id="293920502" data-comment-user-id="2376713">
<a class="ui circular image avatar" href="https://my.oschina.net/wxing" target="_blank">
<div class="osc-avatar small-portrait _35x35" title="_W_xing" data-user-id="2376713">
<img src="https://static.oschina.net/uploads/user/1188/2376713_50.jpg?t=1432806964000" alt="_W_xing" title="_W_xing">
</div>
</a>
<div class="content">
<a class="author" href="https://my.oschina.net/wxing" name="rpl_293920502" target="_blank">_W_xing</a>
<div class="metadata">
<span class="date">2016/07/27 14:55</span>
</div>
<div class="text" data-emoji-render="">
Model model =new Model();<br>model.** = ******;<br>这样需要安全验证.?????
</div>
<div class="actions">
<a class="ban" ban-report="" data-id="293920502" data-obj-type="12" data-url="https://my.oschina.net/u/1019341/blog/134613#rpl_293920502">
<i class="ban icon"></i> 举报
</a>
</div>
</div>
</div>
<div class="comment" data-comment-id="293278811" data-comment-user-id="1792707">
<a class="ui circular image avatar" href="https://my.oschina.net/u/1792707" target="_blank">
<div class="osc-avatar small-portrait _35x35" title="Cfw" data-user-id="1792707">
<img src="https://static.oschina.net/uploads/user/896/1792707_50.jpeg?t=1501810259000" alt="Cfw" title="Cfw">
</div>
</a>
<div class="content">
<a class="author" href="https://my.oschina.net/u/1792707" name="rpl_293278811" target="_blank">Cfw</a>
<div class="metadata">
<span class="date">2016/06/20 11:40</span>
</div>
<div class="text" data-emoji-render="">
<div class="ref"><h4>引用来自“九毛钱”的评论</h4>莫名其妙。换个public 的get set方法就安全了 不是一样可以外部修改!!就是他妈的 麻烦了</div>get 和 set 可以在方法内部对参数进行校验,做安全检查后再进行赋值
</div>
<div class="actions">
<a class="ban" ban-report="" data-id="293278811" data-obj-type="12" data-url="https://my.oschina.net/u/1019341/blog/134613#rpl_293278811">
<i class="ban icon"></i> 举报
</a>
</div>
</div>
</div>
<div class="comment" data-comment-id="284622336" data-comment-user-id="2314998">
<a class="ui circular image avatar" href="https://my.oschina.net/qrd" target="_blank">
<div class="osc-avatar small-portrait _35x35" title="qiaobujian" data-user-id="2314998">
<img src="https://static.oschina.net/uploads/user/1157/2314998_50.jpg?t=1454494124000" alt="qiaobujian" title="qiaobujian">
</div>
</a>
<div class="content">
<a class="author" href="https://my.oschina.net/qrd" name="rpl_284622336" target="_blank">qiaobujian</a>
<div class="metadata">
<span class="date">2015/02/05 12:48</span>
</div>
<div class="text" data-emoji-render="">
itcast
</div>
<div class="actions">
<a class="ban" ban-report="" data-id="284622336" data-obj-type="12" data-url="https://my.oschina.net/u/1019341/blog/134613#rpl_284622336">
<i class="ban icon"></i> 举报
</a>
</div>
</div>
</div>
<div class="comment" data-comment-id="284622334" data-comment-user-id="2314998">
<a class="ui circular image avatar" href="https://my.oschina.net/qrd" target="_blank">
<div class="osc-avatar small-portrait _35x35" title="qiaobujian" data-user-id="2314998">
<img src="https://static.oschina.net/uploads/user/1157/2314998_50.jpg?t=1454494124000" alt="qiaobujian" title="qiaobujian">
</div>
</a>
<div class="content">
<a class="author" href="https://my.oschina.net/qrd" name="rpl_284622334" target="_blank">qiaobujian</a>
<div class="metadata">
<span class="date">2015/02/05 12:47</span>
</div>
<div class="text" data-emoji-render="">
itcast
</div>
<div class="actions">
<a class="ban" ban-report="" data-id="284622334" data-obj-type="12" data-url="https://my.oschina.net/u/1019341/blog/134613#rpl_284622334">
<i class="ban icon"></i> 举报
</a>
</div>
</div>
</div>
<div class="comment" data-comment-id="283980718" data-comment-user-id="151345">
<a class="ui circular image avatar" href="https://my.oschina.net/jiutiandiwang" target="_blank">
<div class="osc-avatar small-portrait _35x35" title="九毛钱" data-user-id="151345">
<img src="https://static.oschina.net/uploads/user/75/151345_50.png?t=1418974619000" alt="九毛钱" title="九毛钱">
</div>
</a>
<div class="content">
<a class="author" href="https://my.oschina.net/jiutiandiwang" name="rpl_283980718" target="_blank">九毛钱</a>
<div class="metadata">
<span class="date">2014/12/30 09:39</span>
</div>
<div class="text" data-emoji-render="">
莫名其妙。换个public 的get set方法就安全了 不是一样可以外部修改!!就是他妈的 麻烦了
</div>
<div class="actions">
<a class="ban" ban-report="" data-id="283980718" data-obj-type="12" data-url="https://my.oschina.net/u/1019341/blog/134613#rpl_283980718">
<i class="ban icon"></i> 举报
</a>
</div>
</div>
</div>
<div class="comment" data-comment-id="274042998" data-comment-user-id="928488">
<a class="ui circular image avatar" href="https://my.oschina.net/wuchao2877" target="_blank">
<div class="osc-avatar small-portrait _35x35" title="ChaosWu" data-user-id="928488">
<img src="https://static.oschina.net/uploads/user/464/928488_50.jpg?t=1356452874000" alt="ChaosWu" title="ChaosWu">
</div>
</a>
<div class="content">
<a class="author" href="https://my.oschina.net/wuchao2877" name="rpl_274042998" target="_blank">ChaosWu</a>
<div class="metadata">
<span class="date">2013/06/03 07:16</span>
</div>
<div class="text" data-emoji-render="">
不错,itcast
</div>
<div class="actions">
<a class="ban" ban-report="" data-id="274042998" data-obj-type="12" data-url="https://my.oschina.net/u/1019341/blog/134613#rpl_274042998">
<i class="ban icon"></i> 举报
</a>
</div>
</div>
</div>
<div class="ui basic center aligned segment pagination-wrap">
</div>
</div>
</div>
</div>
<div class="ui basic segment article-list">
<div class="scroll-tab hidden-scroll">
<div class="ui green pointing secondary massive menu spaceBlog-tab">
<a class="active item" data-tab="relArticleList">相关文章</a>
<a class="item" data-tab="newArticleList">最新文章</a>
</div>
</div>
<div class="ui basic segment active tab article-list" data-tab="relArticleList" id="relArticleList">
<div class="ui very relaxed items list-container blog-detail-list-container">
<div class="item blog-item">
<div class="content">
<a class="header" href="http://www.jianshu.com/p/56f64e3c1b6c" target="_blank" title="深入理解 ThreadLocal (这些细节不应忽略)">深入理解 ThreadLocal (这些细节不应忽略)</a>
<div class="description">
<p class="line-clamp">前言 对于 ThreadLocal 的使用,并不难。但要深入理解 ThreadLocal 的实现方式,需要细细揣摩。写本文前,我在网上看了很多关于 ThreadLocal 的分析,但却感到遗憾,因为很多文章存在着一定误...</p>
</div>
<div class="extra">
<div class="ui horizontal list">
<div class="item">徐志毅</div>
<div class="item">04/11</div>
<div class="item"><i class="eye icon"></i> 0</div>
<div class="item"><i class="comment outline icon"></i> 0</div>
</div>
</div>
</div>
<div class="images">
<a class="ui small image" href="http://www.jianshu.com/p/56f64e3c1b6c" target="_blank" title="深入理解 ThreadLocal (这些细节不应忽略)">
<img src="http://img.oschina.net/itags/f935673fc70c7d785316fd7700a0103deb2b9453.jpg" alt="" data-img-render="" style="width: 100%; height: auto;">
</a>
</div>
</div>
<div class="item blog-item">
<div class="content">
<a class="header" href="http://www.jianshu.com/p/80866ca6c424" target="_blank" title="ThreadLocal源码分析">ThreadLocal源码分析</a>
<div class="description">
<p class="line-clamp">阅读原文请访问我的博客 BrightLoong's Blog 一. 简介 提醒篇幅较大需耐心。 简介来自ThreadLocal类注释 ThreadLocal类提供了线程局部 (thread-local) 变量。这些变量与普通变量不同,每个线...</p>
</div>
<div class="extra">
<div class="ui horizontal list">
<div class="item">BrightLoong</div>
<div class="item">05/28</div>
<div class="item"><i class="eye icon"></i> 0</div>
<div class="item"><i class="comment outline icon"></i> 0</div>
</div>
</div>
</div>
<div class="images">
<a class="ui small image" href="http://www.jianshu.com/p/80866ca6c424" target="_blank" title="ThreadLocal源码分析">
<img src="http://img.oschina.net/itags/1aeb7453db77f449b31c3e6e6345dfe9e2aad664.jpg" alt="" data-img-render="" style="width: auto; height: 100%;">
</a>
</div>
</div>
<div class="item blog-item">
<div class="content">
<a class="header" href="https://my.oschina.net/u/2334022/blog/474417" target="_blank" title="Java并发编程:深入剖析ThreadLocal">Java并发编程:深入剖析ThreadLocal</a>
<div class="description">
<p class="line-clamp">想必很多朋友对ThreadLocal并不陌生,今天我们就来一起探讨下ThreadLocal的使用方法和实现原理。首先,本文先谈一下对ThreadLocal的理解,然后根据ThreadLocal类的源码分析了其实现原理和使用...</p>
</div>
<div class="extra">
<div class="ui horizontal list">
<div class="item">海子_枫子</div>
<div class="item">2015/07/04</div>
<div class="item"><i class="eye icon"></i> 0</div>
<div class="item"><i class="comment outline icon"></i> 0</div>
</div>
</div>
</div>
</div>
<div class="item blog-item">
<div class="content">
<a class="header" href="https://my.oschina.net/u/234345/blog/48300" target="_blank" title="ThreadLocal与synchronized">ThreadLocal与synchronized</a>
<div class="description">
<p class="line-clamp">1.区别ThreadLocal 与 synchronized ThreadLocal是一个线程隔离(或者说是线程安全)的变量存储的管理实体(注意:不是存储用的),它以Java类方式表现; synchronized是Java的一个保留字,只...</p>
</div>
<div class="extra">
<div class="ui horizontal list">
<div class="item">晨曦之光</div>
<div class="item">2012/03/09</div>
<div class="item"><i class="eye icon"></i> 0</div>
<div class="item"><i class="comment outline icon"></i> 0</div>
</div>
</div>
</div>
</div>
<div class="item blog-item">
<div class="content">
<a class="header" href="https://my.oschina.net/u/172402/blog/81867" target="_blank" title="用 JNI 进行 Java 编程(1)">用 JNI 进行 Java 编程(1)</a>
<div class="description">
<p class="line-clamp">本教程是关于什么的? Java 本机接口(Java Native Interface (JNI))是一个本机编程接口,它是 Java 软件开发工具箱(Java Software Development Kit (SDK))的一部分。JNI 允许 Java 代码使...</p>
</div>
<div class="extra">
<div class="ui horizontal list">
<div class="item">Jerikc</div>
<div class="item">2012/10/08</div>
<div class="item"><i class="eye icon"></i> 0</div>
<div class="item"><i class="comment outline icon"></i> 0</div>
</div>
</div>
</div>
</div>
</div>
<div class="page-load-status">
<p class="infinite-scroll-request">
<i class="ui active small inline loader" style="display: none;"></i>
</p>
<p class="infinite-scroll-last">没有更多内容</p>
<p class="infinite-scroll-error">加载失败,请刷新页面</p>
</div>
<a class="ui fluid button load-more-button">加载更多</a>
<p class="pagination" style="display: none;">
<a class="rel-pagination pagination__next" style="display: none" href="https://my.oschina.net/u/1019341/blog/widgets/_blog_detail_list_rel?obj=134613&p=2&type=ajax">下一页</a>
</p>
</div>
<div class="ui basic segment tab article-list" data-tab="newArticleList" id="newArticleList">
<div class="ui very relaxed items list-container blog-detail-list-container">
<div class="item blog-item">
<div class="content">
<a class="header" href="https://my.oschina.net/shea1992/blog/2244646" target="_blank" title="poi通过事件模式sax解析大excel文件,防止内存溢出">poi通过事件模式sax解析大excel文件,防止内存溢出</a>
<div class="description">
<p class="line-clamp">1.解析类 package com.cetc.ExcelPoi;import org.apache.poi.hssf.usermodel.HSSFDateUtil;import org.apache.poi.ss.usermodel.BuiltinFormats;import org.apache.poi.ss.usermodel......</p>
</div>
<div class="extra">
<div class="ui horizontal list">
<div class="item">Sheav</div>
<div class="item">14分钟前</div>
<div class="item"><i class="eye icon"></i> 0</div>
<div class="item"><i class="comment outline icon"></i> 0</div>
</div>
</div>
</div>
</div>
<div class="item blog-item">
<div class="content">
<a class="header" href="https://my.oschina.net/kuchawyz/blog/2244643" target="_blank" title="LIst 数据排序">LIst 数据排序</a>
<div class="description">
<p class="line-clamp">@SuppressWarnings("unchecked")public static void main(String[] args) {System.out.println(44);List<CallRecordVo> list1 = createTestList();Collections.sort(list......</p>
</div>
<div class="extra">
<div class="ui horizontal list">
<div class="item">kuchawyz</div>
<div class="item">24分钟前</div>
<div class="item"><i class="eye icon"></i> 0</div>
<div class="item"><i class="comment outline icon"></i> 0</div>
</div>
</div>
</div>
</div>
<div class="item blog-item">
<div class="content">
<a class="header" href="https://my.oschina.net/forloving/blog/2244642" target="_blank" title="CMD命令行:禁止 bds.exe 和 LicenseManager.exe 文件的联网">CMD命令行:禁止 bds.exe 和 LicenseManager.exe 文件的联网</a>
<div class="description">
<p class="line-clamp">以管理员模式打开命令行窗口,运行以下命令对 bds.exe、LicenceManager.exe 文件禁止联网规则: Netsh.exe advfirewall firewall add rule name="RADStudio" program="C:\Program Files (x8...</p>
</div>
<div class="extra">
<div class="ui horizontal list">
<div class="item">LivingInFHL</div>
<div class="item">25分钟前</div>
<div class="item"><i class="eye icon"></i> 0</div>
<div class="item"><i class="comment outline icon"></i> 0</div>
</div>
</div>
</div>
</div>
<div class="item blog-item">
<div class="content">
<a class="header" href="https://my.oschina.net/weiweiblog/blog/2244634" target="_blank" title="Raft对比ZAB协议 ">Raft对比ZAB协议 </a>
<div class="description">
<p class="line-clamp">系列文章 Raft算法赏析 ZooKeeper的一致性算法赏析 Raft对比ZAB协议 0 一致性问题 本篇文章想总结下Raft和ZAB在处理一些一致性问题上的做法,详见之前对这2个算法的描述 Raft算法赏析 ZooKee...</p>
</div>
<div class="extra">
<div class="ui horizontal list">
<div class="item">浮躁的码农</div>
<div class="item">今天</div>
<div class="item"><i class="eye icon"></i> 4</div>
<div class="item"><i class="comment outline icon"></i> 0</div>
</div>
</div>
</div>
<div class="images">
<a class="ui small image" href="https://my.oschina.net/weiweiblog/blog/2244634" target="_blank" title="Raft对比ZAB协议 ">
<img src="https://static.oschina.net/uploads/img/201610/21164723_v2Rh.png" alt="" data-img-render="" style="width: auto; height: 100%;">
</a>
</div>
</div>
<div class="item blog-item">
<div class="content">
<a class="header" href="https://my.oschina.net/jamescasta/blog/2244629" target="_blank" title="处理请求HttpServletRequest">处理请求HttpServletRequest</a>
<div class="description">
<p class="line-clamp">1 在http body中传递的参数为key=value表单形式,则可用@RequestParam进行解析; 例子: @RequestParam Map<String, String> params 2 若传递的参数为JSON形式,则使用@RequestBody注解进行解...</p>
</div>
<div class="extra">
<div class="ui horizontal list">
<div class="item">猿神出窍</div>
<div class="item">今天</div>
<div class="item"><i class="eye icon"></i> 7</div>
<div class="item"><i class="comment outline icon"></i> 0</div>
</div>
</div>
</div>
</div>
</div>
<div class="page-load-status">
<p class="infinite-scroll-request">
<i class="ui active small inline loader" style="display: none"></i>
</p>
<p class="infinite-scroll-last">没有更多内容</p>
<p class="infinite-scroll-error">加载失败,请刷新页面</p>
</div>
<a class="ui fluid button load-more-button">加载更多</a>
<p class="pagination">
<a class="news-pagination pagination__next" style="display: none" href="https://my.oschina.net/u/1019341/blog/widgets/_blog_detail_list_news?p=2&type=ajax">下一页</a>
</p>
</div>
</div>
</div>