简介: 1.映射一个Action到一个类上面 2.把结果返回到view展示 3.编写Action对应的控制逻辑 1. Action Mapping /HelloWorld.jsp 上面的Action,类HelloWorldAction将会返回HelloWorld.jsp到浏览器 2. Struts ...
分类:
其他好文 时间:
2014-09-23 22:35:15
阅读次数:
244
没事看了会儿servlet,觉得里面的很多东西自己以前都不懂,用spring mvc用多了,以为servlet就是一个DispatcherServlet,通过web.xml里面的servlet-mapping映射后,通过配置的url可以直接访问servlet,servlet通过里面的某一个方法来处理...
分类:
其他好文 时间:
2014-09-23 19:41:55
阅读次数:
175
reverse-double-linked-list
分类:
编程语言 时间:
2014-09-23 19:27:55
阅读次数:
284
Nagios Linux客户端需要安装NRPE进行数据收集,如果在Ubuntu系统下安装过程中遇到下面的错误提示:checking for SSL libraries... configure: error: Cannot find ssl libraries那么可能是缺少sudo apt-get ...
分类:
其他好文 时间:
2014-09-23 19:22:15
阅读次数:
202
Centos-7.x86_64下。编译时可能提示:checking for APR... noconfigure: error: APR not found. Please read the documentation.checking for APR-util... noconfigure: er...
分类:
其他好文 时间:
2014-09-23 14:20:34
阅读次数:
158
Reverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321 1 public class Solution { 2 public int reverse(int x) { 3 ...
分类:
编程语言 时间:
2014-09-23 12:10:24
阅读次数:
235
题目链接Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the". 1 class Solution { 2 publ...
分类:
其他好文 时间:
2014-09-22 20:28:23
阅读次数:
128
在之前的文章里面介绍了一些KO的基本用法。包括基本的绑定方式,基本的ko的绑定语法包括text绑定,html绑定等等(如有不明请参照上两篇文章),下面呢介绍一下关于ko的其他方面的知识。包括比较特殊绑定方式和语法还有KO官方mapping插件的使用等等。对了在前面的文章中好像漏掉了属性绑定的的介绍。...
分类:
其他好文 时间:
2014-09-22 14:13:12
阅读次数:
289
/*由于是2位 十进制整数,所以转化后可以存 一个int 型中;reverse函数 提供了这种转化如果需要转化的数字比较大int存不下,则需要数组来存*/#includeint reverse(int a){ int b=0, c=1; while(a) { b+=(a%2)*c; c*=10;.....
分类:
其他好文 时间:
2014-09-22 12:23:02
阅读次数:
184
Evaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an integer or another express...
分类:
其他好文 时间:
2014-09-21 17:54:51
阅读次数:
226