哪位大哥有嘿嘿嘿网址,能说一下ZTC4501这个套餐内容吗

【wopai me】套餐详解
【优酷】或【乐视】或【腾讯】全国免流量
视频包三选一
Q:校园卡老用户如何升级为新套餐?
A:发送短信ZTC办理转换套餐(新套餐次月生效的哦)
B:每月28号始到次月4号是联通的系统维护期和出账期,升级套餐要在其余时间进行升级
C:办理前需取消所有增值业务,如流量包,低消业务,亲情号码,避免升级不成功。
Q:如何能获得每月1G微信省内定向流量?
新用户:充值50元即可获得每月1G的微信流量,赠送一年。
老用户:成功升级wopaime套餐后充值50元即可获得。(套餐次月生效的哦)
Q:wopaime套餐扣费看不懂,怎样实现21元月租?
A:①如果是旧套餐升级wopaime套餐,您原本的赠款会继续顺延,为保险起见,可以充值50元以免系统出错,而次月生效的优酷视频特权将会扣取费用15元/月,同时系统也会同时赠送200元赠款,每月返还10元,分20个月返还,用来抵扣你当月产生的费用。即36-20+15-10=21元月租。
②如果是新用户,充值50送600,每月返还30元,分20个月返还,而次月生效的优酷视频特权将会扣取费用15元/月,即36+15-30=21元月租。
温馨提示:优酷视频特权是不可以取消的!建议平常多发短信查询余额是否正常,也方便投诉时小沃跟你们解释哦!
短信查询汇总
查询余额:cxye
查询流量:cxll
查询赠款:cxwd
开通wifi:tywlan
忘记wifi密码:czwlan
Me视频特权详情
【优酷】或【乐视】或【腾讯】全国免流量
视频包三选一
开通/更改方式
发送以下短信:
KTYK或KTLS或KTTX
即可开通或是更改为相应业务
(分别对应开通优酷/乐视/腾讯)
1、Me视频特权只可三选一,*新用户默认优酷视频特权,每月27号前都可通过发短信申请更改;
2、申请后原视频业务将于月末最后一天失效,新视频业务在次月4日前生效;
3、视频业务成功生效后需在对应APP进行相关操作才可激活特权,详见下图;
每月领取滴滴打车券,后台回复“交通特权”
责任编辑:
声明:本文由入驻搜狐号的作者撰写,除搜狐官方账号外,观点仅代表作者本人,不代表搜狐立场。
今日搜狐热点25元月租的双4g流量王这个套餐怎么办理啊?
客服说营业厅可以办理
营业厅说不能办理
【广东联通吧】_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0可签7级以上的吧50个
本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:29,537贴子:
25元月租的双4g流量王这个套
25元月租的双4g流量王这个套餐怎么办理啊?
客服说营业厅可以办理
营业厅说不能办理
上的旗舰店清一色的差评
打电话也说营业厅办理
气死了!!!
所有到底怎么办理啊啊啊啊啊?!??!?
谢谢大佬们!!!
中国联通 分析走势如何?持有还是卖出?了解大盘走势,中国联通免费领布局策略,教抄底逃顶,加仓解套办法!
发代码到10010 ,ZTC4499
,ZTC4498 资费15
变不了怎么办。。
楼主需要免流量吗?加扣扣,免费体验
贴吧热议榜
使用签名档&&
保存至快速回贴&p&鉴于很多人都在问怎么个学习路线,我贴个 Java Web 学习路线,仅供参考,但绝对够找工作的了, 如下,都是可以&b&免费&/b&找到的教程(请一定验证是否完整),&b&拼凑&/b&起来差不多刚够学习 Java Web 了,只是衔接起来会有些不连贯,毕竟不是一个机构讲的。 &/p&&ol&&li&Java SE参考书籍:&/li&&/ol&&p&参考视频:传智毕向东、尚学堂马士兵、圣思园张龙的 JavaSE 视频&/p&&ul&&li&《Thinking in Java》 ,&b&只适合参考&/b&,但不适合做入门书,作者在官网提供了免费电子版,链接我就不放了,自己找&/li&&li&《Head First Java》,&b&生动有趣&/b&,入门阶段时间充足的话,建议翻翻&/li&&li&《Java All-In-One for Dummies》,见名知意,就是给新手看的书,自然特别啰嗦特别厚,建议用作参考,很详细&/li&&/ul&&p&2. 数据库&/p&&ul&&li&参考视频:&/li&&li&传智刘道成的 MySQL 视频教程&/li&&li&传智韩忠康的 MySQL 视频教程&/li&&li&以上两个课程的讲师都是讲 PHP 的,所以视频教程中会提到一些 PHP 内容,忽略就是了&/li&&li&参考书籍:&/li&&li&《MySQL Cookbook》,仅适合做参考&/li&&li&《SQL All-In-One for Dummies》,延续了 Dummies 系列一贯的风格,冗余而详尽,适合查阅&/li&&li&建议:&/li&&li&先学 MySQL,然后对比学习 SQL Server 和 Oracle&/li&&li&毕竟主流数据库都实现了 SQL 标准,区别只体现在各自提供的功能上&/li&&/ul&&p&2.1 JDBC&/p&&ul&&li&参考视频:&/li&&li&传智李勇的(其他老师的忽略)JDBC 视频教程, 这部分讲的很全,基本不用看书&/li&&li&参考书籍:&/li&&li&《Core Java》 的 JDBC 章节还不错&/li&&/ul&&p&3. HTML、CSS、JS&/p&&ul&&li&参考视频:&/li&&li&传智韩顺平的《轻松搞定网页设计(html+css+js)》,讲的一般,做入门凑合&/li&&li&妙味课堂的 HTML + CSS + JS,国内算讲的不错的,当然内容有点多,需要花更多时间&/li&&li&参考书籍:&/li&&li&DOM 部分可以参考《DOM 编程艺术》&/li&&li&深入 JS 建议参考《Javascript 权威指南》,原版更好,即:《Javascript: The Definitive Guide》,经典的犀牛书:&/li&&/ul&&p&3.1 学习 JQuery&/p&&ul&&li&参考视频&/li&&li&北风网李炎恢讲的不错,通俗易懂,贴近实战&/li&&li&圣思园张龙讲的也不错,更多原理,例如:JS 的继承和作用域链等等,很少有培训班能讲到&/li&&li&参考书籍&/li&&li&JQuery 多参考官方 API,google 关键词 &jquery documentation& 即可&/li&&li&JQuery 的作者 John Resig 写过一本 javascript 书,质量很好,有兴趣的可以参考下:&/li&&/ul&&p&3.2 EasyUI&/p&&ul&&li&这部分可以先不看,javascript 和 jquery 学的好,学这个没难度,一天的事儿&/li&&li&EasyUI 国内使用特别广泛,但国外似乎没见过用这个的,可能是因为 UI 比较丑吧。。&/li&&li&EasyUI 官方文档和 Demo 基本足够,但官网经常被墙,请自备梯子&/li&&/ul&&p&3.3 ExtJS&/p&&ul&&li&对 javascript 的基础要求比较高,我不建议初学就接触,可以在深入 JS 的机制后再学习&/li&&li&参考书籍:《ExtJS in Action》&/li&&/ul&&p&3.4 Ajax&/p&&ul&&li&参考视频:传智王兴魁老师的视频教程&/li&&li&之前提到的 javascript 和 jquery 课程里,也都提到了 ajax 的内容&/li&&li&必要的话,请自行搜索 JQuery 对 Ajax 的支持&/li&&/ul&&p&4. Java Web&/p&&ul&&li&参考视频:传智播客方立勋的 JavaWeb 视频教程&/li&&li&参考书籍:《Head First: Servlet and JSP》&/li&&li&很形象的一本书,图示很多,理解起来很舒服&/li&&li&虽然 08 年出版的,但并不过时&/li&&/ul&&p&5. 轻量级 JavaEE 开发(所谓的 SSH)&/p&&ul&&li&Struts2&/li&&li&《Struts in Action》&/li&&li&《Apache Struts 2 Web Application Development - Dave Newton》 质量略低,做参考挺不错的,按照知识点划分的,查阅起来也很方便&/li&&li&中文版好像有《Struts 权威指南》之类的书&/li&&li&参考视频:传智黎活明、尚学堂马士兵、圣思园张龙的 Struts2 视频教程&/li&&li&参考书籍:&/li&&li&Spring&/li&&li&参考视频:动力节点王勇、传智黎活明的 Spring 视频教程&/li&&li&培训班讲的都是 Spring 基础,更多内容需要参照 Spring 官方的 reference,写的比书还好&/li&&li&参考书籍:《Spring in Practice》&/li&&li&Hibernate&/li&&li&《Hibernate in action》&/li&&li&《Java Persistence with Hibernate 1st Edition 2006》,Hibernate 作者主编,虽然是 2006 年出版的,但核心内容讲的很全面,非常值得参考&/li&&li&《Java Persistence with Hibernate 2nd Edition 2015.10》,最近到 Manning 官网发现第二版已发布,粗略看了下,全书以 JPA 为主线,Hibernate 特色做补充,随书案例也是很不错的,可能是为 hibernate 5 做的更新,毕竟是个大版本,挺多变化的&/li&&li&参考视频:传智汤阳光(&b&推荐&/b&)、尚学堂马士兵(经典但太老)的 Hibernate 视频教程&/li&&li&参考书籍:&/li&&/ul&&p&&b&此时,基本企业开发技术都学过了,可以试着找工作,实习没问题的,只是缺点项目经验罢了&/b&&/p&&p&6. 自动构建,现在大多数项目都采用构建工具,但对应教程很稀少,能讲清楚的也不多 &/p&&ul&&li&常见构建工具: Maven / Gradle / Ant + Ivy 等&/li&&li&Gradle 可以参考 《Gradle in Action - Benjamin Muschko 2014》&/li&&li&Maven 可以参考《Maven 实战》,没错,是为数不多写的也不错的国产书&/li&&li&Ant 常常和 Ivy 搭配使用,但现在一般使用 Maven 就足够了,所以可以不学习,想了解的可以参考官方文档&/li&&/ul&&p&7. 我的忠告:&/p&&ul&&li&在培训班讲课的老师们,当年也都是自学过来的(他们那个年代还没有软件培训班呢),从这个角度说,自学并非那么不现实,和人有关,和学习环境关系不大&/li&&li&如果你决心花一年时间学习,那就没必要报班了, 因为自学最大的挑战不是技术,而是解决问题过程中的烦躁、绝望和质疑&/li&&li&不要以为英文的书会浪费你的时间,事实上,当你习惯看英文资料后,你会节省很多时间,至少不会找乱七八糟的中文资料还搞不清楚怎么回事&/li&&li&工作中多参考官方文档,不要以为学过了就会用了,好多细节不是老师能够教给你的&/li&&li&Spring&/li&&li&Guice&/li&&li&例如 Spring Reference, 里面有很多原理性的东西,能让你使用起来更有自信&/li&&li&熟悉 Spring 的,可以参考我的另一回答:spring有什么缺点吗?&/li&&li&多熟悉 J2EE 的规范,如 CDI,适当了解规范的其他实现及其规范之外的特色&/li&&li&工作中不要什么都去自己从头做,有些功能完全可以使用第三方类库实现,例如&/li&&li&Guava ,支持泛型和函数式编程,源码也值得学习&/li&&li&Apache Commons,这个太常见了,有很多功能不同的组件&/li&&li&对新技术要敏感一些,但不要一味追新,因为你永远追不上,语言层面的 New Feature 要多少会用,也能说得上来优劣, 此外,JVM 上还有 Scala 和 Groovy 之类的语言,可以适当了解下&/li&&li&重要的永远都是底层和基础,大牛永远都是这么说,站着说话不腰疼,不过确实如此,工作之余,了解一下常用的算法和理论,你不能指望自己不懂 TCP、HTTP、Socket 就直接使用 Netty 那种高度抽象的框架来实现很好的并发。&/li&&/ul&&p&想系统学习可以参考以下学习路线图&/p&&figure&&img src=&https://pic4.zhimg.com/v2-8d0ed6a116ea9beed2bab_b.png& data-rawwidth=&750& data-rawheight=&2271& class=&origin_image zh-lightbox-thumb& width=&750& data-original=&https://pic4.zhimg.com/v2-8d0ed6a116ea9beed2bab_r.png&&&/figure&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&偶尔我会看到入门的人问如下几个问题,如果你问了,该好好反省。&/p&&p&&b&问题&/b&:谁有 CSDN 账号啊,帮忙下个资料?&/p&&p&&b&点评&/b&:CSDN 上能有什么好东西呢,竟然有人问我找 Spring 的帮助文档,说是只有 CSDN 上有中文版本,我都无语了,你既然选择了 Java 就不要逃避英文,任何时候都要首选英文文档,而且,CSDN 上的东西翻译质量乱七八糟,本来国外免费提供的东西它却要积分下载,不必理会,直接去官网即可。&/p&&p&&b&问题&/b&:这个问题怎么回事啊,求大神帮助。。最好远程。。&/p&&p&&b&点评&/b&:大神没空搭理你,没人愿意免费为你解答一个连描述都让人看不懂的问题,甚至帮你远程,再有,大神这个词会让老手觉得很别扭,让人感觉你很怂,不适合做软件。&/p&&p&&b&问题&/b&:百度找不到答案,谁能给个 Demo 啊&/p&&p&&b&点评&/b&:做技术用 Google, 不解释,另外,别以为有 Demo 你就能快速学会什么东西,那只能让你快速黏贴过来应付差事,留下的是乱七八糟的体系和原理不清楚,所以,请自己有个度。&/p&&p&&b&关于笔记&/b&&/p&&p&写程序的如果不会记笔记,就真的效率很低了,别告诉我你是用 Word 记笔记的,现在一般都使用 Markdown 记笔记(Sublime + MarkdownExtended),不知道的自己去 Google, 具体效果如下图:&/p&&p&&b&这么写笔记&/b&:&/p&&p&预览如下:&/p&&p&&br&&/p&&figure&&img src=&https://pic3.zhimg.com/v2-d7f66b5f15b4b236d932046_b.jpg& data-rawwidth=&600& data-rawheight=&270& class=&origin_image zh-lightbox-thumb& width=&600& data-original=&https://pic3.zhimg.com/v2-d7f66b5f15b4b236d932046_r.jpg&&&/figure&&p&&br&&/p&&figure&&img src=&https://pic4.zhimg.com/v2-fbd51c6d3fd380b0f10807f_b.jpg& data-rawwidth=&600& data-rawheight=&363& class=&origin_image zh-lightbox-thumb& width=&600& data-original=&https://pic4.zhimg.com/v2-fbd51c6d3fd380b0f10807f_r.jpg&&&/figure&&p&&b&自学 V.S 报班&/b&&/p&&ul&&li&自学者的疑虑:&/li&&/ul&&ol&&li&如果是上班族一天三、四个小时的学习时间要多久才能达到可以就业的水平?&/li&&li&就你看来,自学和报班这两种方式的优势与劣势各是什么?&/li&&li&上班族自学时间必然很长,从时间、机会成本考虑,值不值?&/li&&/ol&&ul&&li&自学所需的视频教程一定要成体系,而且每部分最好是完整的,否则,你可能学到某个阶段发现剩下的视频还没有发布,也可能某个阶段只学了一般发现没有后续视频了,在选择视频教程前,你需要 .Net 或 JavaWeb 完整的学习流程图,根据每阶段寻找对应的视频教程循序渐进。&/li&&li&如果你的英文足够好,在看视频教程的时候一定要搭配英文电子书(文字版的,方便搜索),为什么这么做? 在我看过的多达 50G 的视频教程里,讲课的老师就算技术再牛,也有讲的模糊的地方,甚至讲错的地方,甚至是忽悠你的地方!!这时候,你需要的可能不只是 Google 和 StackOverflow, 你需要与此配套的英文电子书, 首推 Manning 和 O'Reilly 出版的书。&/li&&li&报班的人一般有两个考虑:&br&&/li&&li&基本上四个月速成,省心,不用操心软件、文档、路线、课程等等&/li&&li&有老师带着做项目,最后还能推荐工作。&/li&&li&最后:自学有自学的好处,报班有报班的好处。关键在于你怎么选择。&/li&&/ul&&p&附:如果有想省时系统学习的同学可以加群,一起学习一起交流。阿里Java高级大牛直播讲解知识点,分享知识,五大阶段都是各位老师多年工作经验的梳理和总结,带着大家全面、科学地建立自己的技术体系和技术认知!&/p&&p&从基础到实战,大型互联网公司资深架构手把手教学,通过面向企业级开发培养良好的编程习惯;通过项目实战训练,拥有众多领域的项目开发经验,实现全面掌握企业级应用、互联网应用开发技能,成为基础知识扎实、项目经验丰富的JAVA高级工程师,同时具备架构师知识,能够独立搭建“高可用、高并发”架构的技术人员。&/p&
鉴于很多人都在问怎么个学习路线,我贴个 Java Web 学习路线,仅供参考,但绝对够找工作的了, 如下,都是可以免费找到的教程(请一定验证是否完整),拼凑起来差不多刚够学习 Java Web 了,只是衔接起来会有些不连贯,毕竟不是一个机构讲的。 Java SE参考书…
&figure&&img src=&https://pic1.zhimg.com/v2-aedcf899e39f_b.jpg& data-rawwidth=&1392& data-rawheight=&1464& class=&origin_image zh-lightbox-thumb& width=&1392& data-original=&https://pic1.zhimg.com/v2-aedcf899e39f_r.jpg&&&/figure&&p&···两年前,朋友发来一张黑白的卫星照片,图中是我的家乡山西汾阳,摄于日。从照片中可以清晰地看到「五座连城」的城关轮廓与街巷布局,城墙以及瓮城尚未完全拆除,东关海子依旧存水,甚至拆除于1970年的汾州府文庙也留下了最后的影像,令我大为振奋。&/p&&figure&&img src=&https://pic4.zhimg.com/v2-aedcf899e39f_b.jpg& data-size=&normal& data-rawwidth=&1392& data-rawheight=&1464& class=&origin_image zh-lightbox-thumb& width=&1392& data-original=&https://pic4.zhimg.com/v2-aedcf899e39f_r.jpg&&&figcaption&山西汾阳 - 日&/figcaption&&/figure&&p&后来得知,这张照片来自美国地质调查局(USGS)图片数据库。美国于90年代以及21世纪初分几批解密了&b&冷战时期&/b&美国间谍卫星拍摄的照片。作为冷战时期的敌国,间谍卫星记录下了当时几乎中国全境的高清卫星照片,这里分享一下照片下载的具体方法。&/p&&p&首先登录美国地质调查局(USGS)&b&EarthExplorer&/b& 网站:&a href=&http://link.zhihu.com/?target=https%3A//earthexplorer.usgs.gov/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&EarthExplorer&/a&&/p&&p&先点击右上角的 Register 注册一下,因为下载图片的时候会提示必须登录。(下面的评论有人反应似乎墙内注册有点问题,可能会看不到验证码,部分墙内邮箱注册会收不到验证邮件。大家尝试一下。)&/p&&p&首先,我们在右侧的地图上通过点选,划定需要搜索的区域,这里以山西汾阳为例,如图我们划定了一个方形区域,以便筛选涉及到这一区域的卫星照片。如果点错位置,可以拖动右侧的锚点进行修改,或者在左侧删除锚点:&/p&&figure&&img src=&https://pic2.zhimg.com/v2-cf159dbcabe1_b.jpg& data-size=&normal& data-rawwidth=&1690& data-rawheight=&1460& class=&origin_image zh-lightbox-thumb& width=&1690& data-original=&https://pic2.zhimg.com/v2-cf159dbcabe1_r.jpg&&&figcaption&设置搜索区域&/figcaption&&/figure&&p&&b&由于右侧用于定位的底图用的是谷歌地图,国内用户可能无法显示。遇到这种情况可以尝试用 Add Coordinate 按钮来手动添加经纬度锚点:&/b&&/p&&figure&&img src=&https://pic4.zhimg.com/v2-6a358e542b2eac0970a6abf_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1036& data-rawheight=&830& class=&origin_image zh-lightbox-thumb& width=&1036& data-original=&https://pic4.zhimg.com/v2-6a358e542b2eac0970a6abf_r.jpg&&&/figure&&p&接下来我们就可以点击 Data Sets 来进行下一步,选择数据库。&/p&&figure&&img src=&https://pic3.zhimg.com/v2-eebacefb69abe_b.jpg& data-size=&normal& data-rawwidth=&1652& data-rawheight=&1494& class=&origin_image zh-lightbox-thumb& width=&1652& data-original=&https://pic3.zhimg.com/v2-eebacefb69abe_r.jpg&&&figcaption&选择需要搜索的数据库&/figcaption&&/figure&&p&被解密的冷战时期照片主要集中在 Declassified Data 数据库中,我们展开它,勾选 Declass 1 (1996),这一组数据库主要是长条状推扫式卫星照片(感谢 &a class=&member_mention& href=&http://www.zhihu.com/people/8360bf9bed38edbc159e& data-hash=&8360bf9bed38edbc159e& data-hovercard=&p$b$8360bf9bed38edbc159e&&@柔雪无痕&/a& 提供专业术语 ),拍摄年代集中在60年代末期。Declass 2 (2002) 则大多是框幅式的照片,拍摄年代集中在70年代初。Declass 3 (2013) 则照片较少。&/p&&p&我们先以 Declass 1 (1996) 为例。点击 Additional Criteria 进入下一步,然后来选择一些参数进行进一步筛选。因为不是所有的照片都提供免费下载,而且分辨率较低的照片没有必要去看,因此我们通过设置把需要付费和低分辨率的照片剔除掉。&/p&&figure&&img src=&https://pic3.zhimg.com/v2-d23efeab87cde_b.jpg& data-size=&normal& data-rawwidth=&1498& data-rawheight=&1224& class=&origin_image zh-lightbox-thumb& width=&1498& data-original=&https://pic3.zhimg.com/v2-d23efeab87cde_r.jpg&&&figcaption&选择高清、可下载等参数&/figcaption&&/figure&&p&如上图,我们将 Camera Resolution 限定为 Stereo High,将 Download Available 限定为 Yes,这样我们就可以直接筛选出高清、可下载的照片了。点击 Results 来获得结果。&/p&&figure&&img src=&https://pic1.zhimg.com/v2-2506e52eea32d23ed32c8d80e74ed114_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1236& data-rawheight=&826& class=&origin_image zh-lightbox-thumb& width=&1236& data-original=&https://pic1.zhimg.com/v2-2506e52eea32d23ed32c8d80e74ed114_r.jpg&&&/figure&&p&如上图所示,在左侧列表中我们看到了筛选结果,结果列表会显示每一个照片的拍摄时间。点击每一个项目第五个带绿色箭头的图标就可以下载了。&/p&&p&但是要如何确定这些照片所涵盖的范围呢?我们可以利用点击脚印图标来获取该照片在地球上的位置。比如下图中,我点选了两张图片的脚印图标,就可以预览显示他们分别覆盖了地球上的哪块区域。&/p&&figure&&img src=&https://pic2.zhimg.com/v2-c1bad8883e31_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&2304& data-rawheight=&1398& class=&origin_image zh-lightbox-thumb& width=&2304& data-original=&https://pic2.zhimg.com/v2-c1bad8883e31_r.jpg&&&/figure&&p&这样的好处是,如果发现你需要搜索的区域和该照片仅仅是有一丁点儿交集,那么就可以优先下载其他的照片了,因为在区域的边界处,照片总是不那么清晰,尤其是需要查看的区域出现在照片两端时,镜头畸变会造成图片极为不清晰。&/p&&p&另外需要注意的是照片覆盖区域只是一个参考,并不能精确地和右侧的谷歌底图重合,所以有时候下载下来的照片和想象得有误差,需要通过不断地下载查看来进行摸索和尝试。&/p&&p&然后就可以下载了,每个照片包从几百M到几个G不等,十分庞大。有时候需要等待很长时间才能开始下载,如果多次等待无效可以考虑重新打开网页。&/p&&figure&&img src=&https://pic4.zhimg.com/v2-408fa3dba4c67029edc23e90f0e6210f_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&910& data-rawheight=&636& class=&origin_image zh-lightbox-thumb& width=&910& data-original=&https://pic4.zhimg.com/v2-408fa3dba4c67029edc23e90f0e6210f_r.jpg&&&/figure&&p&下载照片包以后进行解压。因为每张照片太大,大多数都被切分成了3~4张照片,每个文件依然有几百M。&/p&&p&需要注意的是,有的照片是南北相反的,需要通过手动进行翻转。&/p&&figure&&img src=&https://pic2.zhimg.com/v2-32983b3ecd4ececcaff335_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&2092& data-rawheight=&744& class=&origin_image zh-lightbox-thumb& width=&2092& data-original=&https://pic2.zhimg.com/v2-32983b3ecd4ececcaff335_r.jpg&&&/figure&&p&然后就可以愉快地 zoom-in、zoom-out 看照片了。大家可以自己更换数据库、调整参数来摸索。有的时候找到完美的照片也需要一定运气,毕竟不是所有照片都能遇上晴天,对焦不准或者图片跑偏也是常有的事。&/p&&figure&&img src=&https://pic4.zhimg.com/v2-2e9af77decd75e_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1704& data-rawheight=&1216& class=&origin_image zh-lightbox-thumb& width=&1704& data-original=&https://pic4.zhimg.com/v2-2e9af77decd75e_r.jpg&&&/figure&&p&上图我父亲出生的村庄,堡墙依然完好,还可以找到家里的老院子。&/p&&figure&&img src=&https://pic4.zhimg.com/v2-2eb46881bea5bbf4a8d3_b.jpg& data-size=&normal& data-rawwidth=&1864& data-rawheight=&1246& class=&origin_image zh-lightbox-thumb& width=&1864& data-original=&https://pic4.zhimg.com/v2-2eb46881bea5bbf4a8d3_r.jpg&&&figcaption&清晰的地形和水文特征&/figcaption&&/figure&&figure&&img src=&https://pic1.zhimg.com/v2-278fc69b69c_b.jpg& data-size=&normal& data-rawwidth=&1704& data-rawheight=&1148& class=&origin_image zh-lightbox-thumb& width=&1704& data-original=&https://pic1.zhimg.com/v2-278fc69b69c_r.jpg&&&figcaption&晋陕蒙交界处的黄河&/figcaption&&/figure&&figure&&img src=&https://pic2.zhimg.com/v2-fa19a09ad78c2f455c34d_b.jpg& data-size=&normal& data-rawwidth=&1680& data-rawheight=&1470& class=&origin_image zh-lightbox-thumb& width=&1680& data-original=&https://pic2.zhimg.com/v2-fa19a09ad78c2f455c34d_r.jpg&&&figcaption&大帝都 1967&/figcaption&&/figure&&figure&&img src=&https://pic2.zhimg.com/v2-bc0051edf10ce5aaeeb04d_b.jpg& data-size=&normal& data-rawwidth=&1080& data-rawheight=&835& class=&origin_image zh-lightbox-thumb& width=&1080& data-original=&https://pic2.zhimg.com/v2-bc0051edf10ce5aaeeb04d_r.jpg&&&figcaption&六十年代的香港九龙半岛&/figcaption&&/figure&&figure&&img src=&https://pic2.zhimg.com/v2-834bcdc59c5c5d3ae9352d_b.jpg& data-size=&normal& data-rawwidth=&1980& data-rawheight=&1482& class=&origin_image zh-lightbox-thumb& width=&1980& data-original=&https://pic2.zhimg.com/v2-834bcdc59c5c5d3ae9352d_r.jpg&&&figcaption&深圳罗湖 1969&/figcaption&&/figure&&figure&&img src=&https://pic4.zhimg.com/v2-37ee6f0e73fe8c4b1df60ce79dc9c313_b.jpg& data-size=&normal& data-rawwidth=&2172& data-rawheight=&2993& class=&origin_image zh-lightbox-thumb& width=&2172& data-original=&https://pic4.zhimg.com/v2-37ee6f0e73fe8c4b1df60ce79dc9c313_r.jpg&&&figcaption&深圳湾南山蛇口一带今昔对比&/figcaption&&/figure&&figure&&img src=&https://pic3.zhimg.com/v2-efdbddb0f98a58d819f2_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1590& data-rawheight=&1170& class=&origin_image zh-lightbox-thumb& width=&1590& data-original=&https://pic3.zhimg.com/v2-efdbddb0f98a58d819f2_r.jpg&&&/figure&&p&对地图进行一些手动标注也是不错的。&/p&&p&PS: 汾阳的小伙伴可以通过 &a href=&http://link.zhihu.com/?target=https%3A//pan.baidu.com/s/1miMHTxQ& class=& external& target=&_blank& rel=&nofollow noreferrer&&&span class=&invisible&&https://&/span&&span class=&visible&&pan.baidu.com/s/1miMHTx&/span&&span class=&invisible&&Q&/span&&span class=&ellipsis&&&/span&&/a& 下载我制作的两个 1968 汾阳卫星照片详解 PDF。&/p&
···两年前,朋友发来一张黑白的卫星照片,图中是我的家乡山西汾阳,摄于日。从照片中可以清晰地看到「五座连城」的城关轮廓与街巷布局,城墙以及瓮城尚未完全拆除,东关海子依旧存水,甚至拆除于1970年的汾州府文庙也留下了最后的影像,令我…
&p&卡太多了,我直接说我个人觉得&b&最合适最具性价比&/b&的几个吧,省得你们操心:&/p&&p&1,双卡双待用户&/p&&p&&b&无需换号,每月消费8元,每天1024M,试问还有谁不服?&/b&&/p&&p&主卡换成联通天神卡5元月租,日租卡套餐,每月5元,0.1元/分钟,不用流量。&/p&&p&副卡&a href=&//link.zhihu.com/?target=https%3A//item.jd.com/506709.html& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&上海联通4G随心手机卡&/a&,无月租,每天1.2元,省内500M(2018.2正式升级为1元1G),可叠加。(看上去没啥特别的,但是此卡有个bug,上海的联通日租卡在京东上经常9.9元卖,包含100元话费,相当于3元一个月,每天1024M,非常适合用完就停(直接扔掉不要了就好,180天后自动注销),重新换新卡,京东送货上门,请配合免邮券下单)。还能享受许多APP的新用户优惠,比如飞路巴士50元优惠券。&/p&&figure&&img src=&https://pic4.zhimg.com/v2-399b2ac553a9eb7a21cdf_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1080& data-rawheight=&1920& class=&origin_image zh-lightbox-thumb& width=&1080& data-original=&https://pic4.zhimg.com/v2-399b2ac553a9eb7a21cdf_r.jpg&&&/figure&&p&2,单卡主卡用户,选择还是挺多的。&/p&&p&蚂蚁大宝卡,36元,最高3G国内流量,最高200分钟通话,每月支付宝线下消费还能最多再加500M。额外10元/1G。&b&+3元优酷免流&/b&&/p&&p&腾讯大王卡19元,最高每天1元1G流量,可组免费互打亲情号码,&b&腾讯全系免流,熊猫斗鱼免流&/b&&/p&&p&阿里小宝卡,19元,1G,100分钟,额外1元1G,阿里系免流,这个厉害了:手机淘宝,天猫,钉钉,优酷,新浪微博全免流&/p&&p&百度大圣卡,19元,1G,100分钟,额外10元/1G国内或者1元/800M省内,&b&百度系免流,爱奇艺免流&/b&&/p&&p&米粉29元卡,2G国内流量,100分钟通话,小米全系流量次月返&/p&&p&bilibili联名卡,22元起步,1G国内流量,100分钟通话,额外1元/500M国内流量,&b&bilibili免流&/b&&/p&&p&电话流量都少,就选蚂蚁红包卡吧。9元月租,7.5元/1G国内流量,0.075元/1分钟。(大雾,红包卡居然是&b&电信卡&/b&)&/p&&p&不需要流量就小米日租卡,5元月租,其他全没有,用多少,算多少。&/p&&p&3,其他在线视频或者应用 用得多的,就看看有没有相应的联名卡吧。&/p&&p&&br&&/p&&p&&br&&/p&&figure&&img src=&https://pic4.zhimg.com/v2-ddc19dd10a4414f74bdeaf_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&600& data-rawheight=&85& class=&origin_image zh-lightbox-thumb& width=&600& data-original=&https://pic4.zhimg.com/v2-ddc19dd10a4414f74bdeaf_r.jpg&&&/figure&&p&&br&&/p&&p&&br&&/p&&p&号外!现在联通已经可以不换号直接转各个互联网套餐了,有的可以电话直接转,有的必须要去营业厅签个字。&/p&
卡太多了,我直接说我个人觉得最合适最具性价比的几个吧,省得你们操心:1,双卡双待用户无需换号,每月消费8元,每天1024M,试问还有谁不服?主卡换成联通天神卡5元月租,日租卡套餐,每月5元,0.1元/分钟,不用流量。副卡,无月租,…
&p&毕业后入职公司一年了,没毕业那会自己看视频学习了一下SSH,算是最开始解除了一下MVC框架吧,我理解的MVC框架就是把web后台架构进行了分层,每一层完成独立的工作。,进公司后又学习了SSM框架,也是现在最流行的框架吧,现在就简单的梳理一下我所知道的知识。&/p&&p&SSM
Spring MVC ,Spring,Mybatis&/p&&p&&br&&/p&&p&Spring最重要的两个特性:IOC(控制反转),AOP(面向切面编程)&/p&&p&IOC:它是运用了一种设计模式----工厂模式,把创建对象的工作交给工厂去完成,在xml里配置好,运用反射机制,通过类名得到对象,当需要哪种对象时,Spring会自动帮我们生成。&/p&&p&AOP:它运用了动态代理和反射技术。对于动态代理不是很了解,只知道反射用到两个重要的接口,invocationHandler接口和proxy接口。invocationHandler唯一一个方法invoke方法。&/p&&p&Spring MVC核心:&/p&&p&核心控制器:DispatcherServlet&/p&&p&请求解析器:HandlerMapping&/p&&p&结果解析器:ModelAndView&/p&&p&视图解析器:ViewResolver&/p&&p&&br&&/p&&p&整个工作流程:前台发送url请求,核心控制器接收到请求后调用请求解析器解析,通过映射找到对应的controller层,再调用service层,Dao层,最后返回结果,结果解析器进行装载和传输数据,最后核心控制器调用视图解析器解析视图匹配相应的页面然后跳转。&/p&&p&网上找的一个流程图如下,方便理解。&/p&&figure&&img src=&https://pic2.zhimg.com/v2-33213ceb0382aebf3769_b.jpg& data-caption=&& data-rawwidth=&1077& data-rawheight=&581& class=&origin_image zh-lightbox-thumb& width=&1077& data-original=&https://pic2.zhimg.com/v2-33213ceb0382aebf3769_r.jpg&&&/figure&&p&&br&&/p&&p&SSM框架的配置文件:&/p&&p&spring+springmvc+mybatis框架中用到了三个XML配置文件:web.xml,spring-mvc.xml,spring-mybatis.xml.第一个不用说,每个web项目都会有的也是关联整个项目的配置.第二个文件spring-mvc.xml是springmvc的一些相关配置,第三个是mybatis的相关配置.&br&&/p&&p&项目中还会用到两个资源属性文件jdbc.properties和log4j.properties.一个是关于jdbc的配置,提取出来方便以后的修改.另一个是日志文件的配置.&/p&&p&&br&&/p&&p&web.xml&/p&&p&1.监听器&/p&&p&2.spring配置文件路径&/p&&p&3.编码过滤器&/p&&p&4.spring mvc核心控制器&/p&&p&5.错误页面,异常页面&/p&&p&spring-mvc.xml&/p&&p&1.配置映射器与适配器&/p&&p&2.视图解析器&/p&&p&3.自动扫描该包,使SpringMVC认为包下用了@controller注解的类是控制器&/p&&p&spring-mybatis.xml.&/p&&p&1. 配置 &context:component-scan base-package=&com.rhzh&/& //自动扫描,将标注Spring注解的类自动转化Bean,同时完成Bean的注入&/p&&p&2 .加载数据资源属性文件&/p&&p&3 .配置数据源
&/p&&p&4. 配置sessionfactory&/p&&p&5. 装配Dao接口&/p&&p&6 .声明式事务管理 &/p&&p&7 .注解事务切面 &/p&&p&&br&&/p&&p&以上为个人总结,欢迎大牛指教。&/p&&p&&/p&
毕业后入职公司一年了,没毕业那会自己看视频学习了一下SSH,算是最开始解除了一下MVC框架吧,我理解的MVC框架就是把web后台架构进行了分层,每一层完成独立的工作。,进公司后又学习了SSM框架,也是现在最流行的框架吧,现在就简单的梳理一下我所知道的知…
&figure&&img src=&https://pic3.zhimg.com/v2-3fa274b7c7db6c6ff34ef4_b.jpg& data-rawwidth=&387& data-rawheight=&276& class=&content_image& width=&387&&&/figure&&p&&b&一、SpringMVC基础入门,创建一个HelloWorld程序&/b&&/p&&p&1.首先,导入SpringMVC需要的jar包。&/p&&p&&br&&/p&&figure&&img src=&https://pic1.zhimg.com/v2-32cd3a0b61202ea85ccf15cbcd7f3af2_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&258& data-rawheight=&184& class=&content_image& width=&258&&&/figure&&p&&br&&/p&&p&2.添加Web.xml配置文件中关于SpringMVC的配置&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&&!--configure the setting of springmvcDispatcherServlet and configure the mapping--&
&servlet-name&springmvc&/servlet-name&
&servlet-class&org.springframework.web.servlet.DispatcherServlet&/servlet-class&
&init-param&
&param-name&contextConfigLocation&/param-name&
&param-value&classpath:springmvc-servlet.xml&/param-value&
&/init-param&
&!-- &load-on-startup&1&/load-on-startup& --&
&/servlet&
&servlet-mapping&
&servlet-name&springmvc&/servlet-name&
&url-pattern&/&/url-pattern&
&/servlet-mapping&
&/code&&/pre&&/div&&p&3.在src下添加&code&springmvc-servlet.xml&/code&配置文件&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&&?xml version=&1.0& encoding=&UTF-8&?&
&beans xmlns=&http://www.springframework.org/schema/beans&
xmlns:xsi=&http://www.w3.org/2001/XMLSchema-instance&
xmlns:context=&http://www.springframework.org/schema/context&
xmlns:mvc=&http://www.springframework.org/schema/mvc&
xsi:schemaLocation=&http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.1.xsd&&
&!-- scan the package and the sub package --&
&context:component-scan base-package=&test.SpringMVC&/&
&!-- don't handle the static resource --&
&mvc:default-servlet-handler /&
&!-- if you use annotation you must configure following setting --&
&mvc:annotation-driven /&
&!-- configure the InternalResourceViewResolver --&
&bean class=&org.springframework.web.servlet.view.InternalResourceViewResolver&
id=&internalResourceViewResolver&&
&!-- 前缀 --&
&property name=&prefix& value=&/WEB-INF/jsp/& /&
&!-- 后缀 --&
&property name=&suffix& value=&.jsp& /&
&/code&&/pre&&/div&&p&4.在WEB-INF文件夹下创建名为jsp的文件夹,用来存放jsp视图。创建一个&code&hello.jsp&/code&,在body中添加“Hello World”。&/p&&p&5.建立包及Controller,如下所示&/p&&p&&br&&/p&&figure&&img src=&https://pic2.zhimg.com/v2-50d90e0e99d584e8bc18f_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&205& data-rawheight=&62& class=&content_image& width=&205&&&/figure&&p&&br&&/p&&p&6.编写Controller代码&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&@Controller
@RequestMapping(&/mvc&)
public class mvcController {
@RequestMapping(&/hello&)
public String hello(){
return &hello&;
&/code&&/pre&&/div&&p&7.启动服务器,键入 &code&http://localhost:8080/项目名/mvc/hello&/code&&/p&&p&&b&二、配置解析&/b&&/p&&p&&b&1.Dispatcherservlet&/b&&/p&&p&DispatcherServlet是前置控制器,配置在web.xml文件中的。拦截匹配的请求,Servlet拦截匹配规则要自已定义,把拦截下来的请求,依据相应的规则分发到目标Controller来处理,是配置spring MVC的第一步。&/p&&p&&b&2.InternalResourceViewResolver&/b&&/p&&p&视图名称解析器&/p&&p&&b&3.以上出现的注解&/b&&/p&&ol&&li&&code&@Controller&/code& 负责注册一个bean 到spring 上下文中&/li&&li&&code&@RequestMapping&/code& 注解为控制器指定可以处理哪些 URL 请求.&/li&&/ol&&p&&b&三、SpringMVC常用注解&/b&&/p&&p&&code&@Controller&/code&&/p&&p&负责注册一个bean 到spring 上下文中。&/p&&p&&code&@RequestMapping&/code&&/p&&p&注解为控制器指定可以处理哪些 URL 请求。&/p&&p&&code&@RequestBody&/code&&/p&&p&该注解用于读取Request请求的body部分数据,使用系统默认配置的&code&HttpMessageConverter&/code&进行解析,然后把相应的数据绑定到要返回的对象上 ,再把&code&HttpMessageConverter&/code&返回的对象数据绑定到 &code&controller&/code&中方法的参数上。&/p&&p&&code&@ResponseBody&/code&&/p&&p&该注解用于将&code&Controller&/code&的方法返回的对象,通过适当的&code&HttpMessageConverter&/code&转换为指定格式后,写入到Response对象的body数据区。&/p&&p&&code&@ModelAttribute&/code&
&/p&&ul&&li&在方法定义上使用 &code&@ModelAttribute&/code& 注解:Spring MVC 在调用目标处理方法前,会先逐个调用在方法级上标注了&code&@ModelAttribute&/code& 的方法。&/li&&li&在方法的入参前使用 &code&@ModelAttribute&/code& 注解:可以从隐含对象中获取隐含的模型数据中获取对象,再将请求参数–绑定到对象中,再传入入参将方法入参对象添加到模型中。&/li&&/ul&&p&&code&@RequestParam&/code& &/p&&p&在处理方法入参处使用 &code&@RequestParam&/code& 可以把请求参 数传递给请求方法。&/p&&p&&code&@PathVariable&/code&&/p&&p&绑定 URL 占位符到入参。&/p&&p&&code&@ExceptionHandler&/code&&/p&&p&注解到方法上,出现异常时会执行该方法。&/p&&p&&code&@ControllerAdvice&/code&&/p&&p&使一个Contoller成为全局的异常处理类,类中用&code&@ExceptionHandle&/code&r方法注解的方法可以处理所有Controller发生的异常。&/p&&p&&b&四、自动匹配参数&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&//match automatically
@RequestMapping(&/person&)
public String toPerson(String name,double age){
System.out.println(name+& &+age);
return &hello&;
&/code&&/pre&&/div&&p&&b&五、自动装箱&/b&&/p&&p&&b&1.编写一个Person实体类&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&package test.SpringMVC.
public class Person {
public String getName() {
public void setName(String name) {
this.name =
public int getAge() {
public void setAge(int age) {
this.age =
&/code&&/pre&&/div&&p&&b&2.在Controller里编写方法&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&//boxing automatically
@RequestMapping(&/person1&)
public String toPerson(Person p){
System.out.println(p.getName()+& &+p.getAge());
return &hello&;
&/code&&/pre&&/div&&p&&b&六、使用InitBinder来处理Date类型的参数&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&//the parameter was converted in initBinder
@RequestMapping(&/date&)
public String date(Date date){
System.out.println(date);
return &hello&;
//At the time of initialization,convert the type &String& to type &date&
@InitBinder
public void initBinder(ServletRequestDataBinder binder){
binder.registerCustomEditor(Date.class, new CustomDateEditor(new SimpleDateFormat(&yyyy-MM-dd&),
&/code&&/pre&&/div&&p&&b&七、向前台传递参数&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&//pass the parameters to front-end
@RequestMapping(&/show&)
public String showPerson(Map&String,Object& map){
Person p =new Person();
map.put(&p&, p);
p.setAge(20);
p.setName(&jayjay&);
return &show&;
&/code&&/pre&&/div&&p&前台可在Request域中取到&&code&p&/code&&&/p&&p&&b&八、使用Ajax调用&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&//pass the parameters to front-end using ajax
@RequestMapping(&/getPerson&)
public void getPerson(String name,PrintWriter pw){
pw.write(&hello,&+name);
@RequestMapping(&/name&)
public String sayHello(){
return &name&;
&/code&&/pre&&/div&&p&前台用下面的Jquery代码调用:&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&$(function(){
$(&#btn&).click(function(){
$.post(&mvc/getPerson&,{name:$(&#name&).val()},function(data){
alert(data);
&/code&&/pre&&/div&&p&&b&九、在Controller中使用redirect方式处理请求&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span& //redirect
@RequestMapping(&/redirect&)
public String redirect(){
return &redirect:hello&;
&/code&&/pre&&/div&&p&&b&十、文件上传&/b&&/p&&p&&b&1.需要导入两个jar包&/b&&/p&&p&&br&&/p&&figure&&img src=&https://pic1.zhimg.com/v2-dffe52d6e42f264a8ea43f_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&232& data-rawheight=&54& class=&content_image& width=&232&&&/figure&&p&&br&&/p&&p&&b&2.在SpringMVC配置文件中加入&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&&!-- upload settings --&
&bean id=&multipartResolver&
class=&org.springframework.web.multipart.commons.CommonsMultipartResolver&&
&property name=&maxUploadSize& value=&&&&/property&
&/code&&/pre&&/div&&p&&b&3.方法代码:&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&@RequestMapping(value=&/upload&,method=RequestMethod.POST)
public String upload(HttpServletRequest req) throws Exception{
MultipartHttpServletRequest mreq = (MultipartHttpServletRequest)
MultipartFile file = mreq.getFile(&file&);
String fileName = file.getOriginalFilename();
SimpleDateFormat sdf = new SimpleDateFormat(&yyyyMMddHHmmss&);
FileOutputStream fos = new FileOutputStream(req.getSession().getServletContext().getRealPath(&/&)+
&upload/&+sdf.format(new Date())+fileName.substring(fileName.lastIndexOf('.')));
fos.write(file.getBytes());
fos.flush();
fos.close();
return &hello&;
&/code&&/pre&&/div&&p&&b&4.前台form表单&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span& &form action=&mvc/upload& method=&post& enctype=&multipart/form-data&&
&input type=&file& name=&file&&&br&
&input type=&submit& value=&submit&&
&/code&&/pre&&/div&&p&&b&十一、使用@RequestParam注解指定参数的name&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&@Controller
@RequestMapping(&/test&)
public class mvcController1 {
@RequestMapping(value=&/param&)
public String testRequestParam(@RequestParam(value=&id&) Integer id,
@RequestParam(value=&name&)String name){
System.out.println(id+& &+name);
return &/hello&;
&/code&&/pre&&/div&&p&&b&十二、RESTFul风格的SringMVC&/b&&/p&&p&&b&1.RestController&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&@Controller
@RequestMapping(&/rest&)
public class RestController {
@RequestMapping(value=&/user/{id}&,method=RequestMethod.GET)
public String get(@PathVariable(&id&) Integer id){
System.out.println(&get&+id);
return &/hello&;
@RequestMapping(value=&/user/{id}&,method=RequestMethod.POST)
public String post(@PathVariable(&id&) Integer id){
System.out.println(&post&+id);
return &/hello&;
@RequestMapping(value=&/user/{id}&,method=RequestMethod.PUT)
public String put(@PathVariable(&id&) Integer id){
System.out.println(&put&+id);
return &/hello&;
@RequestMapping(value=&/user/{id}&,method=RequestMethod.DELETE)
public String delete(@PathVariable(&id&) Integer id){
System.out.println(&delete&+id);
return &/hello&;
&/code&&/pre&&/div&&p&&b&2.form表单发送put和delete请求&/b&&/p&&p&在web.xml中配置&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&&!-- configure the HiddenHttpMethodFilter,convert the post method to put or delete --&
&filter-name&HiddenHttpMethodFilter&/filter-name&
&filter-class&org.springframework.web.filter.HiddenHttpMethodFilter&/filter-class&
&filter-mapping&
&filter-name&HiddenHttpMethodFilter&/filter-name&
&url-pattern&/*&/url-pattern&
&/filter-mapping&
&/code&&/pre&&/div&&p&在前台可以用以下代码产生请求&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&&form action=&rest/user/1& method=&post&&
&input type=&hidden& name=&_method& value=&PUT&&
&input type=&submit& value=&put&&
&form action=&rest/user/1& method=&post&&
&input type=&submit& value=&post&&
&form action=&rest/user/1& method=&get&&
&input type=&submit& value=&get&&
&form action=&rest/user/1& method=&post&&
&input type=&hidden& name=&_method& value=&DELETE&&
&input type=&submit& value=&delete&&
&/code&&/pre&&/div&&p&&b&十三、返回json格式的字符串&/b&&/p&&p&&b&1.导入以下jar包&/b&&/p&&p&&br&&/p&&figure&&img src=&https://pic1.zhimg.com/v2-601bd047be2c455a177d40ccd325be1b_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&245& data-rawheight=&102& class=&content_image& width=&245&&&/figure&&p&&br&&/p&&p&&b&2.方法代码&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&@Controller
@RequestMapping(&/json&)
public class jsonController {
@ResponseBody
@RequestMapping(&/user&)
User get(){
User u = new User();
u.setId(1);
u.setName(&jayjay&);
u.setBirth(new Date());
&/code&&/pre&&/div&&p&&b&十四、异常的处理&/b&&/p&&p&&b&1.处理局部异常&/b&(Controller内)&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&
@ExceptionHandler
public ModelAndView exceptionHandler(Exception ex){
ModelAndView mv = new ModelAndView(&error&);
mv.addObject(&exception&, ex);
System.out.println(&in testExceptionHandler&);
@RequestMapping(&/error&)
public String error(){
int i = 5/0;
return &hello&;
&/code&&/pre&&/div&&p&&b&2.处理全局异常(所有Controller)&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&@ControllerAdvice
public class testControllerAdvice {
@ExceptionHandler
public ModelAndView exceptionHandler(Exception ex){
ModelAndView mv = new ModelAndView(&error&);
mv.addObject(&exception&, ex);
System.out.println(&in testControllerAdvice&);
&/code&&/pre&&/div&&p&&b&3.另一种处理全局异常的方法&/b&&/p&&p&在SpringMVC配置文件中配置&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&
&!-- configure SimpleMappingExceptionResolver --&
&bean class=&org.springframework.web.servlet.handler.SimpleMappingExceptionResolver&&
&property name=&exceptionMappings&&
&prop key=&java.lang.ArithmeticException&&error&/prop&
&/property&
&/code&&/pre&&/div&&p&error是出错页面.&/p&&p&&b&十五、设置一个自定义拦截器&/b&&/p&&p&&b&1.创建一个MyInterceptor类,并实现HandlerInterceptor接口&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&public class MyInterceptor implements HandlerInterceptor {
public void afterCompletion(HttpServletRequest arg0,
HttpServletResponse arg1, Object arg2, Exception arg3)
throws Exception {
System.out.println(&afterCompletion&);
public void postHandle(HttpServletRequest arg0, HttpServletResponse arg1,
Object arg2, ModelAndView arg3) throws Exception {
System.out.println(&postHandle&);
public boolean preHandle(HttpServletRequest arg0, HttpServletResponse arg1,
Object arg2) throws Exception {
System.out.println(&preHandle&);
&/code&&/pre&&/div&&p&&b&2.在SpringMVC的配置文件中配置&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&
&!-- interceptor setting --&
&mvc:interceptors&
&mvc:interceptor&
&mvc:mapping path=&/mvc/**&/&
&bean class=&test.SpringMVC.Interceptor.MyInterceptor&&&/bean&
&/mvc:interceptor&
&/mvc:interceptors&
&/code&&/pre&&/div&&p&&b&3.拦截器执行顺序&/b&&/p&&p&&br&&/p&&figure&&img src=&https://pic2.zhimg.com/v2-4a39b64d0e36ecb3af60b_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&705& data-rawheight=&472& class=&origin_image zh-lightbox-thumb& width=&705& data-original=&https://pic2.zhimg.com/v2-4a39b64d0e36ecb3af60b_r.jpg&&&/figure&&p&&br&&/p&&p&&b&十六、表单的验证(使用Hibernate-validate)及国际化&/b&&/p&&p&&b&1.导入Hibernate-validate需要的jar包&/b& &/p&&figure&&img src=&https://pic4.zhimg.com/v2-4e3f95e88ecbe4b8fc6ec8d_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&235& data-rawheight=&130& class=&content_image& width=&235&&&/figure&&p&(未选中不用导入)&br&&/p&&figure&&img src=&https://pic1.zhimg.com/v2-4ed9e955b729d2ac5f57_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&274& data-rawheight=&53& class=&content_image& width=&274&&&/figure&&p&&br&&/p&&p&&b&2.编写实体类User并加上验证注解&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&public class User {
public int getId() {
public void setId(int id) {
public String getName() {
public void setName(String name) {
this.name =
public Date getBirth() {
public void setBirth(Date birth) {
this.birth =
public String toString() {
return &User [id=& + id + &, name=& + name + &, birth=& + birth + &]&;
@DateTimeFormat(pattern=&yyyy-MM-dd&)
&/code&&/pre&&/div&&p&ps:@Past表示时间必须是一个过去值&/p&&p&&b&3.在jsp中使用SpringMVC的form表单&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&&form:form action=&form/add& method=&post& modelAttribute=&user&&
id:&form:input path=&id&/&&form:errors path=&id&/&&br&
name:&form:input path=&name&/&&form:errors path=&name&/&&br&
birth:&form:input path=&birth&/&&form:errors path=&birth&/&
&input type=&submit& value=&submit&&
&/form:form&
&/code&&/pre&&/div&&p&ps:path对应name&/p&&p&&b&4.Controller中代码&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&@Controller
@RequestMapping(&/form&)
public class formController {
@RequestMapping(value=&/add&,method=RequestMethod.POST)
public String add(@Valid User u,BindingResult br){
if(br.getErrorCount()&0){
return &addUser&;
return &showUser&;
@RequestMapping(value=&/add&,method=RequestMethod.GET)
public String add(Map&String,Object& map){
map.put(&user&,new User());
return &addUser&;
&/code&&/pre&&/div&&p&ps:&/p&&p&  1.因为jsp中使用了modelAttribute属性,所以必须在request域中有一个&user&.&br&  2.@Valid 表示按照在实体上标记的注解验证参数&br&  3.返回到原页面错误信息回回显,表单也会回显&/p&&p&&b&5.错误信息自定义&/b&&/p&&p&在src目录下添加&code&locale.properties&/code&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&NotEmpty.user.name=name can't not be empty
Past.user.birth=birth should be a past value
DateTimeFormat.user.birth=the format of input is wrong
typeMismatch.user.birth=the format of input is wrong
typeMismatch.user.id=the format of input is wrong
&/code&&/pre&&/div&&p&在SpringMVC配置文件中配置&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&
&!-- configure the locale resource --&
&bean id=&messageSource& class=&org.springframework.context.support.ResourceBundleMessageSource&&
&property name=&basename& value=&locale&&&/property&
&/code&&/pre&&/div&&p&&b&6.国际化显示&/b&&/p&&p&在src下添加&code&locale_zh_CN.properties&/code&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&username=账号
password=密码
&/code&&/pre&&/div&&p&&code&locale.properties&/code&中添加&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&username=user name
password=password
&/code&&/pre&&/div&&p&创建一个&code&locale.jsp&/code&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&&body&
&fmt:message key=&username&&&/fmt:message&
&fmt:message key=&password&&&/fmt:message&
&/code&&/pre&&/div&&p&在SpringMVC中配置&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span& &!-- make the jsp page can be visited --&
&mvc:view-controller path=&/locale& view-name=&locale&/&
&/code&&/pre&&/div&&p&让&code&locale.jsp&/code&在&code&WEB-INF&/code&下也能直接访问&/p&&p&最后,访问&code&locale.jsp&/code&,切换浏览器语言,能看到账号和密码的语言也切换了。&/p&&p&&b&十七、压轴大戏--整合SpringIOC和SpringMVC&/b&&/p&&p&&b&1.创建一个&code&test.SpringMVC.integrate&/code&的包用来演示整合,并创建各类。&/b& &/p&&figure&&img src=&https://pic2.zhimg.com/v2-787a560e7fa03e325e06d_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&217& data-rawheight=&78& class=&content_image& width=&217&&&/figure&&p&&br&&/p&&p&&b&2.User实体类&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&public class User {
public int getId() {
public void setId(int id) {
public String getName() {
public void setName(String name) {
this.name =
public Date getBirth() {
public void setBirth(Date birth) {
this.birth =
public String toString() {
return &User [id=& + id + &, name=& + name + &, birth=& + birth + &]&;
@DateTimeFormat(pattern=&yyyy-MM-dd&)
&/code&&/pre&&/div&&p&&b&3.UserService类&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&@Component
public class UserService {
public UserService(){
System.out.println(&UserService Constructor...\n\n\n\n\n\n&);
public void save(){
System.out.println(&save&);
&/code&&/pre&&/div&&p&&b&4.UserController&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&@Controller
@RequestMapping(&/integrate&)
public class UserController {
@Autowired
private UserService userS
@RequestMapping(&/user&)
public String saveUser(@RequestBody @ModelAttribute User u){
System.out.println(u);
userService.save();
return &hello&;
&/code&&/pre&&/div&&p&&b&5.Spring配置文件&/b&&/p&&p&在src目录下创建SpringIOC的配置文件&code&applicationContext.xml&/code&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&&?xml version=&1.0& encoding=&UTF-8&?&
&beans xmlns=&http://www.springframework.org/schema/beans&
xmlns:xsi=&http://www.w3.org/2001/XMLSchema-instance&
xsi:schemaLocation=&http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util-4.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
xmlns:util=&http://www.springframework.org/schema/util&
xmlns:p=&http://www.springframework.org/schema/p&
xmlns:context=&http://www.springframework.org/schema/context&
&context:component-scan base-package=&test.SpringMVC.integrate&&
&context:exclude-filter type=&annotation&
expression=&org.springframework.stereotype.Controller&/&
&context:exclude-filter type=&annotation&
expression=&org.springframework.web.bind.annotation.ControllerAdvice&/&
&/context:component-scan&
&/code&&/pre&&/div&&p&&b&在Web.xml中添加配置&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&&!-- configure the springIOC --&
&listener&
&listener-class&org.springframework.web.context.ContextLoaderListener&/listener-class&
&/listener&
&context-param&
&param-name&contextConfigLocation&/param-name&
&param-value&classpath:applicationContext.xml&/param-value&
&/context-param&
&/code&&/pre&&/div&&p&&b&6.在SpringMVC中进行一些配置,防止SpringMVC和SpringIOC对同一个对象的管理重合。&/b&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&&!-- scan the package and the sub package --&
&context:component-scan base-package=&test.SpringMVC.integrate&&
&context:include-filter type=&annotation&
expression=&org.springframework.stereotype.Controller&/&
&context:include-filter type=&annotation&
expression=&org.springframework.web.bind.annotation.ControllerAdvice&/&
&/context:component-scan&
&/code&&/pre&&/div&&p&&b&十八、SpringMVC详细运行流程图&/b&&/p&&p&&br&&/p&&figure&&img src=&https://pic2.zhimg.com/v2-d457fcf8ebe_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&858& data-rawheight=&652& class=&origin_image zh-lightbox-thumb& width=&858& data-original=&https://pic2.zhimg.com/v2-d457fcf8ebe_r.jpg&&&/figure&&p&&br&&/p&&p&&b&十九、SpringMVC运行原理&/b&&/p&&ol&&li&客户端请求提交到DispatcherServlet;&/li&&li&由DispatcherServlet控制器查询一个或多个HandlerMapping,找到处理请求的Controller;&/li&&li&DispatcherServlet将请求提交到Controller;&/li&&li&Controller调用业务逻辑处理后,返回ModelAndView;&/li&&li&DispatcherServlet查询一个或多个ViewResoler视图解析器,找到ModelAndView指定的视图;&/li&&li&视图负责将结果显示到客户端。&/li&&/ol&&p&&b&二十、SpringMVC与struts2的区别&/b&&/p&&p&1、springmvc基于方法开发的,struts2基于类开发的。springmvc将url和controller里的方法映射。映射成功后springmvc生成一个Handler对象,对象中只包括了一个method。方法执行结束,形参数据销毁。springmvc的controller开发类似web service开发。&br&2、springmvc可以进行单例开发,并且建议使用单例开发,struts2通过类的成员变量接收参数,无法使用单例,只能使用多例。&br&3、经过实际测试,struts2速度慢,在于使用struts标签,如果使用struts建议使用jstl。&/p&&p&&br&&/p&&p&&b&相关文章&/b&&/p&&p&&b&1.&a href=&https://link.zhihu.com/?target=http%3A//www.imooc.com/article/1309& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Spring基础知识汇总&/a&&/b&&/p&&p&&b&2.&a href=&https://link.zhihu.com/?target=http%3A//www.imooc.com/article/1296& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Java框架篇---Hibernate入门&/a&&/b&&/p&&p&&b&3.&a href=&https://link.zhihu.com/?target=http%3A//www.imooc.com/article/1291& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Java框架篇---Mybatis 入门&/a&&/b&&/p&&p&&b&相关课程&/b&&/p&&p&&b&1.&a href=&https://link.zhihu.com/?target=http%3A//www.imooc.com/learn/47& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Spring MVC起步&/a&&/b&&/p&&p&&b&2.&a href=&https://link.zhihu.com/?target=http%3A//www.imooc.com/learn/464& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Struts2入门&/a&&/b&&/p&&p&&b&3.&a href=&https://link.zhihu.com/?target=http%3A//www.imooc.com/learn/396& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Hibernate初探之单表映射&/a&&/b&&/p&&p&&br&&/p&&p&作者: IT程序狮 &/p&&p&链接:&a href=&https://link.zhihu.com/?target=http%3A//www.imooc.com/article/1392& class=& external& target=&_blank& rel=&nofollow noreferrer&&&span class=&invisible&&http://www.&/span&&span class=&visible&&imooc.com/article/1392&/span&&span class=&invisible&&&/span&&/a&&/p&
一、SpringMVC基础入门,创建一个HelloWorld程序1.首先,导入SpringMVC需要的jar包。 2.添加Web.xml配置文件中关于SpringMVC的配置&!--configure the setting of springmvcDispatcherServlet and configure the mapping--&
&servlet-name&sprin…
&figure&&img src=&https://pic4.zhimg.com/b1ce162f331aadb828c0ade33fb01230_b.jpg& data-rawwidth=&1200& data-rawheight=&800& class=&origin_image zh-lightbox-thumb& width=&1200& data-original=&https://pic4.zhimg.com/b1ce162f331aadb828c0ade33fb01230_r.jpg&&&/figure&&p&上周写了一篇&a class=&internal& href=&https://zhuanlan.zhihu.com/p/?refer=passer&&有哪些适合新手练手的Java项目? - 学习编程 - 知乎专栏&/a&,反响还不错,很多朋友都希望能有一篇整理Java Web项目的文章。于是今天整理了一些Java Web的项目。当然在上一篇文章中,有一位朋友评论问我是不是所有的项目我都有运行过。不是!我并没有把所有的项目都运行过,但是这些项目有一半是我在以前学习过程中敲过。另一半是我挑选评分比较高,评论区都是好评的项目。&/p&&p&当然,所有推荐的项目,一般都不会在你的环境下面一步到位调试成功的。这需要你自己去慢慢调整。请记住:调整的过程也是一个学习的过程,而且是一个很重要的学习过程。如果你连调试的耐心都没有了,那么建议调整好心态来重新学习。另外一点,如果你想提高自己的Java Web水平,一样建议你好好敲一次下面的几个项目。&/p&&br&&p&如果你没有学习好Java基础,看下面的内容上手比较难,没有一些基本的思路,你可以选择先再去学习一遍Java基础:&/p&&a class=&internal& href=&https://zhuanlan.zhihu.com/p/&&如何一步一步的学Java - 学习编程 - 知乎专栏&/a&&p&如果您正在准备参加校招或者社招,同时这里有两篇文章或许可以帮助到你:&/p&&a class=&internal& href=&https://zhuanlan.zhihu.com/p/&&Java工程师面试题整理[社招篇] - 学习编程 - 知乎专栏&/a&&a href=&https://zhuanlan.zhihu.com/p/& class=&internal&&Java工程师笔试题整理[校招篇] - 学习编程 - 知乎专栏&/a&&p&&b&如果你Java学得不错,正想参加实习为什么不看看这里&a data-title=&@空白白白白& data-editable=&true& class=&member_mention& href=&https://www.zhihu.com/people/ff7d67cff9dad40c761d74& data-hash=&ff7d67cff9dad40c761d74& data-hovercard=&p$b$ff7d67cff9dad40c761d74&&@空白白白白&/a& : &/b&&/p&&a class=&internal& href=&https://zhuanlan.zhihu.com/p/&&招python/java实习生 - 我们的故事只讲了一半 - 知乎专栏&/a&&br&&p&如果你好没有开始Java Web的征途,推荐一系列好的教程给你们:&/p&&p&&a class=& wrap external& href=&https://link.zhihu.com/?target=http%3A//www.cnblogs.com/xdp-gacl/p/3729033.html& target=&_blank& rel=&nofollow noreferrer&&JavaWeb学习总结(一)——JavaWeb开发入门&/a& (整个系列点进去可见)&/p&&figure&&img data-rawheight=&100& data-rawwidth=&1200& src=&https://pic1.zhimg.com/33c5ac1a647ad8ecd689ff_b.jpg& class=&origin_image zh-lightbox-thumb& width=&1200& data-original=&https://pic1.zhimg.com/33c5ac1a647ad8ecd689ff_r.jpg&&&/figure&&p&实例(一),网上的书店,源码下载:&/p&&a class=& wrap external& href=&https://link.zhihu.com/?target=http%3A//download.csdn.net/detail/hhd& target=&_blank& rel=&nofollow noreferrer&&JSP+Servlet+Javabean+Mysql 网上书店管理系统&/a&&br&&p&实例(二),网上书城,源码下载: &br&&/p&&a class=& wrap external& href=&https://link.zhihu.com/?target=https%3A//github.com/eson15/Javaweb_bookstore/tree/master/BookStore& target=&_blank& rel=&nofollow noreferrer&&Javaweb_bookstore/BookStore at master · eson15/Javaweb_bookstore · GitHub&/a&&p&实例(三),购物系统,源码下载:&/p&&a class=& wrap external& href=&https://link.zhihu.com/?target=http%3A//download.csdn.net/detail/jack2009win/3121246& target=&_blank& rel=&nofollow noreferrer&&网上购物系统jsp+mysql(系统+论文).rar&/a&&br&&p&实例(四),购票系统,源码下载: &br&&/p&&a class=& wrap external& href=&https://link.zhihu.com/?target=http%3A//www.zuidaima.com/share/0176.htm& target=&_blank& rel=&nofollow noreferrer&&jsp+mysql开发的火车票网上购票系统&/a&&p&实例(五),源码下载(包含几个小项目):
&br&&/p&&a class=& wrap external& href=&https://link.zhihu.com/?target=https%3A//github.com/benbai123/JSP_Servlet_Practice& target=&_blank& rel=&nofollow noreferrer&&GitHub
- benbai123/JSP_Servlet_Practice: This repository store the practice
projects of JSP and Servlet... and related Java program practice&/a&&p& 实例(六),商城,源码下载: &br&&/p&&a class=& wrap external& href=&https://link.zhihu.com/?target=http%3A//www.zuidaima.com/share/4416.htm& target=&_blank& rel=&nofollow noreferrer&&java servlet+jsp+bean开发开源宅商城系统,未用任何java开源框架&/a&&p&实例(七),电商书店,源码下载:&/p&&a href=&https://link.zhihu.com/?target=http%3A//www.zuidaima.com/share/6736.htm& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&jsp+servlet仿当当网电商图书系统&/a&&p&实例(八),源码下载:&/p&&a class=& wrap external& href=&https://link.zhihu.com/?target=http%3A//www.zuidaima.com/share/3360.htm& target=&_blank& rel=&nofollow noreferrer&&jsp+java bean+servlet开发的mvc简易鞋城在线商城系统&/a&&br&&figure&&img data-rawheight=&100& data-rawwidth=&1200& src=&https://pic3.zhimg.com/8d9e5e8cd7f252b8e8aecc6f9bd0fb60_b.jpg& class=&origin_image zh-lightbox-thumb& width=&1200& data-original=&https://pic3.zhimg.com/8d9e5e8cd7f252b8e8aecc6f9bd0fb60_r.jpg&&&/figure&&p&实例(一):学生信息管理系统,源码下载:&/p&&a class=& wrap external& href=&https://link.zhihu.com/?target=https%3A//github.com/yirenyin/J2EE_practice& target=&_blank& rel=&nofollow noreferrer&&GitHub - yirenyin/J2EE_practice: J2EE 学生信息管理系统初级版&/a&&p&实例(二):图书馆管理系统,源码下载:&/p&&a class=& wrap external& href=&https://link.zhihu.com/?target=http%3A//download.csdn.net/detail/it0918liu/comment& target=&_blank& rel=&nofollow noreferrer&&1、图书馆管理系统JSP+Servlet+JavaBean+MySQL&/a&&a class=& wrap external& href=&https://link.zhihu.com/?target=http%3A//www.zuidaima.com/share/7200.htm& target=&_blank& rel=&nofollow noreferrer&&2、jsp开发图书馆管理系统源代码下载&/a&&p&实例(三):餐饮管理系统,源码下载:&/p&&a class=& wrap external& href=&https://link.zhihu.com/?target=http%3A//download.csdn.net/detail/kairui214/918263& target=&_blank& rel=&nofollow noreferrer&&jsp实现的餐饮管理系统&/a&&br&&p&实例(四),学生成绩管理,源码下载:&/p&&a class=& wrap external& href=&https://link.zhihu.com/?target=http%3A//www.zuidaima.com/share/0784.htm& target=&_blank& rel=&nofollow noreferrer&&Java Bean+Servlet+jsp开发的java Web学生成绩后台信息管理系统,适合新手入门学习&/a&&p&实例(五),学生成绩管理源码下载:&/p&&a href=&https://link.zhihu.com/?target=http%3A//download.csdn.net/detail/u41609& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&JSP+Servlet+Javabean+Mysql学生成绩管理系统&/a&&br&&p&实例(六),源码下载:&/p&&a class=& wrap external& href=&https://link.zhihu.com/?target=http%3A//www.zuidaima.com/share/5712.htm& target=&_blank& rel=&nofollow noreferrer&&JSP+Servlet+MySQL或SQLServer实现增删改查,搜索,分页功能&/a&&p&实例(七),企业人事管理系统,源码下载:&/p&&a href=&https://link.zhihu.com/?target=http%3A//download.csdn.net/detail/ysnowp/7450823& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&jsp+servlet+mysql企业人事管理系统&/a&&p&实例(八),人事管理系统,源码下载:&/p&&a href=&https://link.zhihu.com/?target=http%3A//download.csdn.net/detail/gogoback& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&JSP人事管理系统(源代码)&/a&&br&&p&&figure&&img data-rawheight=&100& data-rawwidth=&1200& src=&https://pic1.zhimg.com/0fa0c5fd61d9_b.jpg& class=&origin_image zh-lightbox-thumb& width=&1200& data-original=&https://pic1.zhimg.com/0fa0c5fd61d9_r.jpg&&&/figure&实例(一),源码下载:&/p&&a class=& wrap external& href=&https://link.zhihu.com/?target=http%3A//git.oschina.net/bestick/cblog& target=&_blank& rel=&nofollow noreferrer&&bestick/cblog&/a&&p&实例(二),源码下载:&/p&&a href=&https://link.zhihu.com/?target=http%3A//download.csdn.net/detail/wangzhenqiang5369& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Jsp+servlet个人博客小项目&/a&&p&实例(三),源码下载:&/p&&a class=& wrap external& href=&https://link.zhihu.com/?target=http%3A//download.csdn.net/detail/zwxf123/7013375& target=&_blank& rel=&nofollow noreferrer&&JSP七个小项目代码和笔记汇总(java web)留言、登录系统等&/a&&p&实例(四),源码下载:&/p&&a href=&https://link.zhihu.com/?target=http%3A//download.csdn.net/detail/lx3576& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&基于Jsp编写的博客系统(java+sql)&/a&&p&实例(五),源码下载:&/p&&a href=&https://link.zhihu.com/?target=http%3A//download.csdn.net/detail/peirenjun/1010052& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&MyEclipse+Jsp+MySql实现小小博客系统源码&/a&&br&&figure&&img data-rawheight=&100& data-rawwidth=&1200& src=&https://pic3.zhimg.com/e5bd8d55f187046bfac9e8c6c6917e1e_b.jpg& class=&origin_image zh-lightbox-thumb& width=&1200& data-original=&https://pic3.zhimg.com/e5bd8d55f187046bfac9e8c6c6917e1e_r.jpg&&&/figure&&p&实例(一),非常有用的一些小实例下载:&/p&&a class=& wrap external& href=&https://link.zhihu.com/?target=http%3A//download.csdn.net/detail/tzs_/9387962& target=&_blank& rel=&nofollow noreferrer&&JAVA上百实例源码以及开源项目源代码&/a&&p&实例(二),12个项目中的10/11/12篇推荐给你们:&/p&&a class=& wrap external& href=&https://link.zhihu.com/?target=http%3A//down.51cto.com/data/650019& target=&_blank& rel=&nofollow noreferrer&&JSP项目开发案例全程实录源码共12个_51CTO下载中心_IT技术资料免费下载&/a&&br&&p&实例(三),Java开发1200例,择优练习。&/p&&a class=& wrap external& href=&https://link.zhihu.com/?target=http%3A//down.51cto.com/data/656556& target=&_blank& rel=&nofollow noreferrer&&Java开发实战1200例 (第1、2卷)源代码_51CTO下载中心_IT技术资料免费下载&/a&&p&实例四),J2EE初学者最佳实战&/p&&a class=& wrap external& href=&https://link.zhihu.com/?target=https%3A//github.com/JeffLi1993/servlet-core-learning& target=&_blank& rel=&nofollow noreferrer&&GitHub - JeffLi1993/servlet-core-learning: Servlet/JSP学习积累的例子,是Java EE初学者及Servlet/JSP核心技术巩固的最佳实践。&/a&&br&&p&看到最后的朋友,偷偷给你们奉上一个不错的教程:&a class=& wrap external& href=&https://link.zhihu.com/?target=http%3A//blog.51cto.com/zt/179& target=&_blank& rel=&nofollow noreferrer&&JDBC+Servlet+JSP 整合开发培训教程&/a&&/p&
上周写了一篇,反响还不错,很多朋友都希望能有一篇整理Java Web项目的文章。于是今天整理了一些Java Web的项目。当然在上一篇文章中,有一位朋友评论问我是不是所有的项目我都有运行过。不是!我并没…
&figure&&img src=&https://pic2.zhimg.com/v2-dac0b9ff96b28a48bbb65_b.jpg& data-rawwidth=&900& data-rawheight=&500& class=&origin_image zh-lightbox-thumb& width=&900& data-original=&https://pic2.zhimg.com/v2-dac0b9ff96b28a48bbb65_r.jpg&&&/figure&&p&Java 在编程语言排行榜中一直位列前排,可知 Java 语言的受欢迎程度了。&/p&&p&实验楼上的&a href=&https://link.zhihu.com/?target=https%3A//www.shiyanlou.com/paths/java& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&【Java 学习路径】&/a&中将首先完成 Java基础、JDK、JDBC、正则表达式等基础实验;然后进阶到 J2SE 和 SSH 框架学习;最后通过使用 Java 语言实现日记本,个人相册、编辑器、通讯录等,学习并实践 Java 编程基础、SSH 项目实战以及Java Web 应用开发。&/p&&h2&&b&完整的Java学习路径:&a href=&https://link.zhihu.com/?target=https%3A//www.shiyanlou.com/paths/java& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Java研发工程师&/a&&/b&&/h2&&p&所有的教程都搭配有在线练习环境,PC访问可以直接在线实践,Learn by doing是最有效的学习方式。&/p&&figure&&img src=&https://pic3.zhimg.com/v2-a13cde417cc90f1ddff9a6f841d7fbc7_b.jpg& data-caption=&& data-rawwidth=&1240& data-rawheight=&595& class=&origin_image zh-lightbox-thumb& width=&1240& data-original=&https://pic3.zhimg.com/v2-a13cde417cc90f1ddff9a6f841d7fbc7_r.jpg&&&/figure&&h2&&b&阶段1、Java基础&/b&&/h2&&p&Java 基础不必多说了,下面的7门课程就可以带你动手学习,入门Java。&/p&&ul&&li&&b&1、&a href=&https://link.zhihu.com/?target=https%3A//www.shiyanlou.com/courses/18& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Java编程语言&/a&&/b&&/li&&li&&b&2、&a href=&https://link.zhihu.com/?target=https%3A//www.shiyanlou.com/courses/539& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Java 8 新特性指南&/a&&/b&&/li&&li&&b&3、&a href=&https://link.zhihu.com/?target=https%3A//www.shiyanlou.com/courses/110& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&JDBC 入门教程&/a&&/b&&/li&&li&&b&4、&a href=&https://link.zhihu.com/?target=https%3A//www.shiyanlou.com/courses/109& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&JDK 核心 API&/a&&/b&&/li&&li&&b&5、&a href=&https://link.zhihu.com/?target=https%3A//www.shiyanlou.com/courses/100& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Java进阶之设计模式&/a&&/b&&/li&&li&&b&6、&a href=&https://link.zhihu.com/?target=https%3A//www.shiyanlou.com/courses/90& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&正则表达式基础&/a&&/b&&/li&&li&&b&7、&a href=&https://link.zhihu.com/?target=https%3A//www.shiyanlou.com/courses/9& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&MySQL 基础课程&/a&&/b&&/li&&/ul&&h2&&b&阶段2、J2SE 开发&/b&&/h2&&p&J2SE,全称为Java 2 Standard Edition。Java 2平台包括:标准版(J2SE)、企业版(J2EE)和微缩版(J2ME)三个版本。J2SE即Java 2的标准版,主要用于桌面应用软件的开发。&/p&&p&下面这段话是ORACLE对于Java SE的官方描述:&/p&&blockquote&Java Platform, Standard Edition (Java SE) 可以让您在桌面和服务器以及目前要求较高的嵌入式环境中开发和部署 Java 应用程序。 Java 提供了当今应用程序所需要的丰富的用户界面、良好的性能、多功能性、可移植性和安全性。&/blockquote&&p&J2SE与J2EE、J2ME之间的关系可以通过下图来表示:&/p&&figure&&img src=&https://pic4.zhimg.com/v2-eacfebbcb_b.jpg& data-rawwidth=&454& data-rawheight=&341& class=&origin_image zh-lightbox-thumb& width=&454& data-original=&https://pic4.zhimg.com/v2-eacfebbcb_r.jpg&&&figcaption&J2SE与J2EE、J2ME之间的关系&/figcaption&&/figure&&p&&b&J2SE的架构&/b&&/p&&p&J2SE的架构如下图所示,它主要包含了UI、集成库、语言和工具基础库、其他基础库、Java虚拟机等组件。&/p&&figure&&img src=&https://pic4.zhimg.com/v2-f3aeaaa1630b03_b.jpg& data-rawwidth=&811& data-rawheight=&480& class=&origin_image zh-lightbox-thumb& width=&811& data-original=&https://pic4.zhimg.com/v2-f3aeaaa1630b03_r.jpg&&&f

我要回帖

更多关于 黄海波惹了哪位大哥 的文章

 

随机推荐