今天特别有成就感,感谢上帝,是他让我不轻易放弃。好了下面简单介绍一下我的问题。我最近在学习HeadfirstservletJSP第81页面关于部署一个小应用。但是无论怎么调试无法找到servlet,最开始是web.xml里面的servlet和servlet-mapping位置放错了,在这里也提醒一下各位,请一定要..
分类:
其他好文 时间:
2014-05-27 03:39:19
阅读次数:
422
一、映射定义概括1.1 映射定义(Mapping
declaration)对象和关系数据库之间的映射是用一个XML文档(XML
document)来定义的。这个映射文档被设计为易读的,并且可以手工修改。映射语言是以对象为中心的,
意味着映射是按照持久化类的定义来创建的,而非表的定义。让我们打开上节课...
分类:
系统相关 时间:
2014-05-23 08:27:50
阅读次数:
467
题意:首先定义了一种叫做Reverse Prime的数:是一个7位数,倒置后是一个
然后要把所有的Reverse Prime求出来,排好序。
然后题目有2种操作:
q x :求编号0到编号x的Reverse Prime的质因数个数的和
d x :从表中删掉x(x是一个Reverse Prime)
思路:首先筛选出所有的素数,然后倒置,因为我们的素数都是#include...
分类:
其他好文 时间:
2014-05-22 09:29:54
阅读次数:
274
"15000000".split("").reverse().join("").replace(/(\d{3})/g,
"$1,").split("").reverse().join("");"115000000".split("").reverse().join("").replace(/(\d{...
分类:
其他好文 时间:
2014-05-22 05:04:27
阅读次数:
357
一:根据标点符号分行,上图,代码很简单二:代码using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using System.L...
Reverse the word order in a sentence, but maintain
the character order inside a word.
分类:
其他好文 时间:
2014-05-22 03:50:14
阅读次数:
289
Evaluate the value of an arithmetic expression
inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an
integer or another express...
分类:
其他好文 时间:
2014-05-22 00:49:57
阅读次数:
311
Reverse a linked list from position m to n. Do it in-place and in one-pass.
For example:
Given 1->2->3->4->5->NULL, m = 2 and n =
4,
return 1->4->3->2->5->NULL.
Note:
Given m, n satisfy the fol...
分类:
其他好文 时间:
2014-05-21 07:18:02
阅读次数:
301