添加引用http://htmlagilitypack.codeplex.com/downloads/get/437941protected 
void Export(string content,string file) { HtmlDocument doc = new HtmlD...
                            
                            
                                分类:
Web程序   时间:
2014-07-22 23:17:32   
                                阅读次数:
426
                             
                    
                        
                            
                            
                                创建java工程SamplePlugin:package 
com.hoo.server.plugin;import java.io.File;import 
org.jivesoftware.openfire.XMPPServer;import org.jivesoftware.openfire.co...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:17:14   
                                阅读次数:
478
                             
                    
                        
                            
                            
                                1.获取CSV数据内容public static Object[][] 
getFromCSV(String filename) { if (!(new File(filename)).exists()){ return null; 
} Object[][] content; CSVReader r....
                            
                            
                                分类:
Web程序   时间:
2014-07-22 23:16:34   
                                阅读次数:
467
                             
                    
                        
                            
                            
                                1.文件的基本操作1.1文件的打开或创建文件的打开或创建可以使用内置函数file(别名open)。函数声明如下:file(name[,mode[,buffering]])->fileobject或open(name[,mode[,buffering]])->fileobject其中,name表示被打...
                            
                            
                                分类:
编程语言   时间:
2014-04-30 19:48:22   
                                阅读次数:
517
                             
                    
                        
                            
                            
                                在做项目时遇到了这个异常,网上一查才知道 JSTL core库的版本问题。 
当我们在web.xml中使用: ..... 时 我们在jsp才用方式引入。 而当我们的web.xml是 或 则需要: 在jsp中用方式引入。 
若若版本不对应在运行时可能...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 19:40:13   
                                阅读次数:
443
                             
                    
                        
                            
                            
                                1. 存入图片 Connection con=db.conn; PreparedStatement 
pstmt; //File file = upload; FileInputStream inputImage = new FileInputS...
                            
                            
                                分类:
编程语言   时间:
2014-04-30 17:27:01   
                                阅读次数:
476
                             
                    
                        
                            
                            
                                平时做算法题目, 没少用到 GDB, 但今天才意识到 Project 的调试方法与单个 cpp 
文件的不同之处, 比如 gdb list 命令, 在单个 cpp 文件中列出的是源代码, 但在 project 中却什么都不显示Project Debug 时, 
file 参数的使用[1] 有讲解, UP...
                            
                            
                                分类:
数据库   时间:
2014-04-30 17:23:01   
                                阅读次数:
527
                             
                    
                        
                            
                            
                                #includemain(){	int a[2][3],b[3][2];	int 
i,j;	//input a	for(i=0;i<2;i++)	{ for(j=0;j<3;j++) { 
scanf("%d",&a[i][j]); }	} // zhuanzhi b for(j=0...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 16:04:17   
                                阅读次数:
261
                             
                    
                        
                            
                            
                                procedure TDataEditDrFrm.btn8Click(Sender: 
TObject);varexcelx,excely:string;ExcelApp:Variant;workBook:OleVariant;excelRowCount,excelColumnCount:longin...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 15:17:44   
                                阅读次数:
427
                             
                    
                        
                            
                            
                                一、sessionStorage和localStorage 
sessionStorage和localStorage两种方法都是当用户在inPut文本框中输入内容并点击保存数据按钮时保存数据,点击读取数据按钮时读取保存后的数据。不过使用sessionStorage时,只能局限于当前页面,如果关闭浏览器...
                            
                            
                                分类:
数据库   时间:
2014-04-30 13:24:39   
                                阅读次数:
483