今天为止算是把前端的全部搞好了,明天开始后台管理。 今天就是完成了新闻评论的功能: 评论的实现:1.评论的查询: MyNewsServlet --> newsShow.jsp :妙在newId早在MyNewsServlet有埋伏 Comment.java CommentDao 2.评论的添加:new ...
分类:
其他好文 时间:
2017-01-11 07:38:06
阅读次数:
157
Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight).For example, the 32-bit i... ...
分类:
其他好文 时间:
2017-01-11 07:35:28
阅读次数:
185
前言:对很多 react 新手来说,网上能找到的资源大都是些简单的 tutorial ,它们能教会你如何使用 react ,但并不会告诉你怎么在实际项目中优雅的组织和编写 react 代码。用谷歌搜中文“ React 最佳实践”发现前两页几乎全都是同一篇国外文章的译文...所以我总结了下自己过去那个 ...
分类:
其他好文 时间:
2017-01-11 07:36:42
阅读次数:
297
一、原生态jdbc程序存在的问题: mybatis框架原理、执行过程: 二、入门程序 1)环境搭建: mybatis下载地址:https://github.com/mybatis/ 导入jar包,工程结构: 1 public void findUserByNameTest() throws IOEx ...
分类:
其他好文 时间:
2017-01-11 07:34:31
阅读次数:
206
过去一年,换了工作的缘故,一直奔跑在全栈开发的道路上。从web开发的小白到如今的不那么白的小白,感觉进步还是蛮大的。今年的工作任务依然严峻,但是工作之余还是希望自己业务能有些自己的事情做。把想做的事情列下来,明年回头看自己怎么“囧” ^_^! 1) 参加软考,系统架构设计师的考试不是为了什么,仅仅是 ...
分类:
其他好文 时间:
2017-01-11 07:34:17
阅读次数:
184
public class Solution { public int HammingDistance(int x, int y) { int distance = 0; string sX = Convert.ToString(x, 2); string sY = Convert.ToString(... ...
分类:
其他好文 时间:
2017-01-10 23:54:53
阅读次数:
432
Power of Two Total Accepted: 3596 Total Submissions: 11779Given an integer, write a function to determine if it is a power of two.Credits:Special than... ...
分类:
其他好文 时间:
2017-01-10 23:53:59
阅读次数:
500
省赛结束了,但真正的工作才刚刚开始,省赛只是国赛的前期热身。学校已经放假了,而我并没有放假,我还在指导着即将参加国赛的同学们学习,一直到小年夜才能回家。谁说教师最幸福的就是有寒暑假,看着别的教师放寒暑假而自己不能休假,其实一点也不幸福。 省赛指导的那名需要我相信他的同学,今天和苏老师说他不想参加比赛 ...
分类:
其他好文 时间:
2017-01-10 23:52:55
阅读次数:
480
Say you have an array for which the ith element is the price of a given stock on day i.If you were only permitted to complete at most one transaction ... ...
分类:
其他好文 时间:
2017-01-10 23:50:23
阅读次数:
341
Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true if the rans... ...
分类:
其他好文 时间:
2017-01-10 23:51:04
阅读次数:
404
Excel Sheet Column NumberRelated to question Excel Sheet Column TitleGiven a column title as appear in an Excel sheet, return its corresponding column... ...
分类:
其他好文 时间:
2017-01-10 23:47:33
阅读次数:
373
Invert a binary tree. 4 / \ 2 7 / \ / \ 1 3 6 9to 4 / \ 7 2 / \ / \ 9 6 3 1Trivia:This problem was inspired by this original tweet by Max Howell:Googl... ...
分类:
其他好文 时间:
2017-01-10 23:47:58
阅读次数:
493
【题目分析】 模板题目。 首尾两个虚拟结点,十分方便操作。 【代码】 ...
分类:
其他好文 时间:
2017-01-10 23:47:01
阅读次数:
455
PipeLine调用过程ISAPIRuntime ProcessReqeustHttpRuntime ProcessRequestNoDemand ProcessRequestNow ProcessRequestInternal 封装上下文 通过对象工厂获取application对象HttpAppl ...
分类:
其他好文 时间:
2017-01-10 23:46:44
阅读次数:
363
3669: [Noi2014]魔法森林 动点spfa Description 为了得到书法大家的真传,小E同学下定决心去拜访住在魔法森林中的隐士。魔法森林可以被看成一个包含个N节点M条边的无向图,节点标号为1..N,边标号为1..M。初始时小E同学在号节点1,隐士则住在号节点N。小E需要通过这一片魔 ...
分类:
其他好文 时间:
2017-01-10 23:44:59
阅读次数:
386
今天内容安排 1:复习mybatis 2:复习springMVC 3:springMVC+spring+mybatis组合起来,搭建一个web应用开发的框架 4:用户管理系统,针对用户的CRUD操作,前后端交互 mybatis复习 springmvc复习 spring-mvc web.xml配置Di... ...
分类:
其他好文 时间:
2017-01-10 23:45:26
阅读次数:
551
SolrCloud今日大纲(了解) ●分布式集群系统基本概念 ●SolrCloud入门 ●SolrCloud搭建 *********************************************************************************************... ...
分类:
其他好文 时间:
2017-01-10 23:45:12
阅读次数:
408