前言 在Spring Framework官方文档中,这三者是放到一起讲的,但没有解释为什么放到一起。大概是默认了读者都是有相关经验的人,但事实并非如此,例如我。好在闷着头看了一遍,又查资料又敲代码,总算明白了。 其实说穿了一文不值,我们用一个例子来解释: 假定,现有一个app,功能是接收你输入的生日... ...
                            
                            
                                分类:
编程语言   时间:
2016-10-12 00:30:57   
                                阅读次数:
205
                             
                    
                        
                            
                            
                                    index页面: success页面: 实体类DateConvertAction: 自定义转换器: 配置struts.xml配置文件: 创建一个名为xwork-conversion.properties的文本配置全局类型转换: java.util.Date=cn.jbit.util.DateConv ...
                            
                            
                                分类:
其他好文   时间:
2016-10-10 16:19:22   
                                阅读次数:
156
                             
                    
                        
                            
                            
                                今天用Visual Studio 2010编译一个C工程时突然遇到下面这个编译错误。fatal error LINK1123:failure during conversion to COFF:file invalid or corrupt 试了很多方法都没有用,包括微软官方的说明http://bl ...
                            
                            
                                分类:
其他好文   时间:
2016-10-09 17:29:59   
                                阅读次数:
139
                             
                    
                        
                            
                            
                                struts2中的类型转换器根接口是:com.opensymphony.xwork2.conversion.TypeConverter。 在web中我们使用beanutils直接将表单数据封装到javaBean中。 类型转换 struts2中action得到请求参数,也可以直接封装到javaBean ...
                            
                            
                                分类:
其他好文   时间:
2016-10-05 21:59:25   
                                阅读次数:
182
                             
                    
                        
                            
                            
                                题意:给你一个字符串和行数numRows,要求把该字符串变成一个“之”字形状后,按行数输出该字符串。 例子:"ABCDEFGHIJKLMNO", 4。 该字符串的“之”字形状为: 那么,输出为AGMBFHLNCEIKODJ (按行数输出) 思路:数学推导公式。在字符串中,有两行是特殊的,那就是第一行 ...
                            
                            
                                分类:
其他好文   时间:
2016-10-04 13:50:27   
                                阅读次数:
94
                             
                    
                        
                            
                            
                                    The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font  ...
                            
                            
                                分类:
编程语言   时间:
2016-09-27 23:06:49   
                                阅读次数:
254
                             
                    
                        
                            
                            
                                    题目: The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed f ...
                            
                            
                                分类:
其他好文   时间:
2016-09-26 23:08:58   
                                阅读次数:
212
                             
                    
                        
                            
                            
                                使用PowerShell命令查询ActiveDirectory中长时间没有登录计算机帐户。本文章以60天为例,大家可以根据需要修改。下面给出脚本:#ThisPowerShellCommandwillqueryActiveDirectoryandreturnthecomputeraccountswhichhavenotloggedforthepast#60days.Youcaneasilychangethenumbero..
                            
                            
                                分类:
系统相关   时间:
2016-09-23 21:48:51   
                                阅读次数:
1479
                             
                    
                        
                            
                            
                                    转载:http://www.cnblogs.com/ikuman/archive/2013/11/04/3403073.html 1、struts2自2.1以后推荐使用Convention Plugin支持struts零配置支持(引入jar:struts2-convention-plugin-2.x ...
                            
                            
                                分类:
其他好文   时间:
2016-09-19 17:56:35   
                                阅读次数:
234
                             
                    
                        
                            
                            
                                    Oracle 官网有关单实例迁移到RAC的一个步骤说明: How to Convert 10g Single-Instance database to 10g RAC using Manual Conversion procedure [ID 747457.1] http://blog.csdn.n ...
                            
                            
                                分类:
数据库   时间:
2016-09-17 00:26:27   
                                阅读次数:
293