<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[lwfshr]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/lwfshr</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; lwfshr]]></copyright><item><title><![CDATA[mysql读数据库和插入数据库乱码问题]]></title><link>https://blog.youkuaiyun.com/lwfshr/article/details/83847199</link><guid>https://blog.youkuaiyun.com/lwfshr/article/details/83847199</guid><author>lwfshr</author><pubDate>Mon, 28 Feb 2011 20:51:25 +0800</pubDate><description><![CDATA[解决办法：
 
建立一个专门用于编码的类：
package util;import java.io.UnsupportedEncodingException;//解决中文问题public class EncodingUtil {  //从数据库取出用 public static String latin1ToGBK(String str) {  try {    String temp_p ...]]></description><category></category></item><item><title><![CDATA[Teradata数据库查询时error]]></title><link>https://blog.youkuaiyun.com/lwfshr/article/details/83613525</link><guid>https://blog.youkuaiyun.com/lwfshr/article/details/83613525</guid><author>lwfshr</author><pubDate>Thu, 13 May 2010 16:37:24 +0800</pubDate><description><![CDATA[在Teradata数据库查询以下sql语句时：
select caller.*,catcher.*from (select  top 300 c_usr_nbr,sum(int_cnt),count(c_usr_nbr)from sna.yk_gmr_frd_out  group by c_usr_nbr  order by sum(int_cnt) desc) callerinner join...]]></description><category></category></item><item><title><![CDATA[DEV  C++断点设置无效]]></title><link>https://blog.youkuaiyun.com/lwfshr/article/details/83572684</link><guid>https://blog.youkuaiyun.com/lwfshr/article/details/83572684</guid><author>lwfshr</author><pubDate>Thu, 01 Apr 2010 11:11:29 +0800</pubDate><description><![CDATA[     今天使用DEV C++编译程序，设置断点后程序没有在断点处停止，结果搜索，解决方案如下：
1  打开DEV C++后，打开一个项目，点击菜单中的“project”--&amp;gt;&quot;project options&quot;,选择“compiler”--&amp;gt;&quot;link&quot;,选择“generate debugging information”，将其置为 “YES”
2 设置断点，在需要设置的那行前面...]]></description><category></category></item><item><title><![CDATA[做ACM题有感]]></title><link>https://blog.youkuaiyun.com/lwfshr/article/details/83568856</link><guid>https://blog.youkuaiyun.com/lwfshr/article/details/83568856</guid><author>lwfshr</author><pubDate>Tue, 23 Mar 2010 19:46:53 +0800</pubDate><description><![CDATA[  今天下午做了北大1002题，做题过程中发现自己犯了些错误，特意写下来。
1 C语言编译器无法识别关系表达式：如  1&amp;lt;a&amp;lt;10 ,必须改成以下这种形式：a&amp;lt;10&amp;amp;&amp;amp;a&amp;gt;1
2 将字符串赋值给一个字符数组，需使用如下形式：
 char a[10];
 scanf(&quot;%s&quot;,a);
3 某整数存储在字符a中，如比较其与8的大小，不能写成这样：a&amp;g...]]></description><category></category></item><item><title><![CDATA[ACM题的presentation error错误]]></title><link>https://blog.youkuaiyun.com/lwfshr/article/details/83531453</link><guid>https://blog.youkuaiyun.com/lwfshr/article/details/83531453</guid><author>lwfshr</author><pubDate>Tue, 19 Jan 2010 20:02:05 +0800</pubDate><description><![CDATA[今天做了第1000题求a-b，老是查询presentation error错误，代码如下：
#include &amp;lt;stdio.h&amp;gt;
int main(void){  long long a,b;  scanf(&quot;%ld %ld&quot;,&amp;amp;a,&amp;amp;b);  printf(&quot;%ld&quot;,a-b);  return 0;}
 
经过百度搜索，n次修改后，终于accept了
修改...]]></description><category></category></item><item><title><![CDATA[软件学院找工]]></title><link>https://blog.youkuaiyun.com/lwfshr/article/details/83522071</link><guid>https://blog.youkuaiyun.com/lwfshr/article/details/83522071</guid><author>lwfshr</author><pubDate>Sat, 26 Dec 2009 17:35:40 +0800</pubDate><description><![CDATA[好像大家都会写些东西记录来自己找工的经历，自己的找工也暂告一段落。我也趁着记忆没有消逝之前，记录一下自己找工的一些辛劳历程吧。Thurder（C++开发工程师）:迅 雷是我投的第一家公司。因为国庆逃回家了很长的一段时
间，所以消息不太灵通。笔试当天凌晨才投的简历。我就压根没想过它会给我笔试的机会。就在我苦恼着如何处理一堆螃蟹的时候，escorter告诉我笔试名单有我名字，惊喜！不得不赞一个迅雷，...]]></description><category></category></item><item><title><![CDATA[软件学院测试工程师面试]]></title><link>https://blog.youkuaiyun.com/lwfshr/article/details/83522069</link><guid>https://blog.youkuaiyun.com/lwfshr/article/details/83522069</guid><author>lwfshr</author><pubDate>Sat, 26 Dec 2009 17:32:53 +0800</pubDate><description><![CDATA[软件学院研会系列5--06软件一女生的技术求职之路（金山，阿里巴巴，腾讯）  以下是我院研会邀请软件学院06级一位女生写的求职经历总结，较为细致的总结了金山，阿里巴巴，以及腾讯测试的每一轮笔试面试经历，希望大家能好好看看各家公司的笔试面试过程以及内容，提早准备，赢在起跑线上！--------------------------------------------------------------...]]></description><category></category></item><item><title><![CDATA[软件学院找工经历]]></title><link>https://blog.youkuaiyun.com/lwfshr/article/details/83522065</link><guid>https://blog.youkuaiyun.com/lwfshr/article/details/83522065</guid><author>lwfshr</author><pubDate>Sat, 26 Dec 2009 17:16:39 +0800</pubDate><description><![CDATA[软件学院研会系列1：   软件学院的各位同学，即日起我们软院研会将定期通过BBS软件学院版块发表或转帖一些与我们软件人相关的学术、实习、招聘等方面的帖子，后期我们会根据对同学们的调研，发上一些有针对性的IT企业或公司IT部门的介绍以及笔试面试过程的分析，希望应届的同学参考一下，非应届的同学都先了解了解，提早对自己做一个规划，在此祝愿软件学院的所有同学们都前程似锦。     以下第一个帖子是从之前中...]]></description><category></category></item><item><title><![CDATA[列存储的优点--Sybase IQ 列存储、数据压缩和索引技术]]></title><link>https://blog.youkuaiyun.com/lwfshr/article/details/83495513</link><guid>https://blog.youkuaiyun.com/lwfshr/article/details/83495513</guid><author>lwfshr</author><pubDate>Sat, 28 Nov 2009 20:19:38 +0800</pubDate><description><![CDATA[Sybase IQ —— 革命性的产品Sybase的数据仓库方法从根本上不同于其他的关系型数据库提供商。Sybase认为，传统的关系型方法以及ROLAP方法效率很低，要想获得足够的性能，必须通过高额的成本，在额外的硬件、软件、资源、钱、时间上进行大量投资，否则不可能达到。因此Sybase已经开发了一个新的关系型数据库——逆向关系型数据库可能是对此最好的解释，它使用一个传统的关系型结构以及类似的非常...]]></description><category></category></item><item><title><![CDATA[servlet和jsp路径]]></title><link>https://blog.youkuaiyun.com/lwfshr/article/details/83493216</link><guid>https://blog.youkuaiyun.com/lwfshr/article/details/83493216</guid><author>lwfshr</author><pubDate>Mon, 23 Nov 2009 20:23:16 +0800</pubDate><description><![CDATA[servlet和jsp路径
设当前应用路径为war1. 在jsp中的“/”表示的根为“ip”，不包含WAR路径2. 在servlet中以forward方式使用的“/”表示的根为“ip/war/”，包含了WAR路径3. 在servlet中以sendRedirect方式使用的“/”表示的根为ip，不包含WAR路径4. 在servlet中以forward方式跳转，则浏览器的地址栏仍然为此servlet...]]></description><category></category></item><item><title><![CDATA[Invalid operation for the current cursor position ]]></title><link>https://blog.youkuaiyun.com/lwfshr/article/details/83491872</link><guid>https://blog.youkuaiyun.com/lwfshr/article/details/83491872</guid><author>lwfshr</author><pubDate>Thu, 19 Nov 2009 21:40:10 +0800</pubDate><description><![CDATA[java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Invalid operation for the current cursor position   即当前游标为空
 
出错了，代码如下：DBtest.jsp
&amp;lt;body&amp;gt;数据库查询：&amp;lt;% Connection con = null;con...]]></description><category></category></item><item><title><![CDATA[proxool连接池使用方法]]></title><link>https://blog.youkuaiyun.com/lwfshr/article/details/83491865</link><guid>https://blog.youkuaiyun.com/lwfshr/article/details/83491865</guid><author>lwfshr</author><pubDate>Thu, 19 Nov 2009 21:08:41 +0800</pubDate><description><![CDATA[    今天下午弄tomcat的连接池，老是出错，提示：no suitable driver加一堆错误。后来百度发现一个更加快捷方便的连接池配置方法，那就是使用proxool连接池。下面介绍下proxool连接池的使用方法：
1 下载proxool包，下载地址： http://proxool.sourceforge.net/ 。将下载的包解开，从包中的lib目录下将proxool-xxx.jar...]]></description><category></category></item><item><title><![CDATA[java连接池问题]]></title><link>https://blog.youkuaiyun.com/lwfshr/article/details/83490179</link><guid>https://blog.youkuaiyun.com/lwfshr/article/details/83490179</guid><author>lwfshr</author><pubDate>Mon, 16 Nov 2009 10:39:07 +0800</pubDate><description><![CDATA[调试java程序出现如下错误：
 java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Object has been closed. at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source) at com.microsoft.j...]]></description><category></category></item><item><title><![CDATA[java web中文乱码问题]]></title><link>https://blog.youkuaiyun.com/lwfshr/article/details/83490164</link><guid>https://blog.youkuaiyun.com/lwfshr/article/details/83490164</guid><author>lwfshr</author><pubDate>Mon, 16 Nov 2009 10:16:33 +0800</pubDate><description><![CDATA[应用一：解决tomcat下中文乱码问题（先来个简单的） 
在tomcat下，我们通常这样来解决中文乱码问题：
 
过滤器代码：

Java代码  

 
package filter;

import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import wrapper.GetHttp...]]></description><category></category></item><item><title><![CDATA[java.util.Date()报错]]></title><link>https://blog.youkuaiyun.com/lwfshr/article/details/83490028</link><guid>https://blog.youkuaiyun.com/lwfshr/article/details/83490028</guid><author>lwfshr</author><pubDate>Sun, 15 Nov 2009 21:16:53 +0800</pubDate><description><![CDATA[ PreparedStatement stm=con.prepareStatement(&quot;insert into message values(?,?,?,?,?)&quot;);      stm.setString(1, title);      stm.setString(2, name);      stm.setString(4, content);      stm.setString(5, e...]]></description><category></category></item><item><title><![CDATA[java.lang.NullPointerException]]></title><link>https://blog.youkuaiyun.com/lwfshr/article/details/83489864</link><guid>https://blog.youkuaiyun.com/lwfshr/article/details/83489864</guid><author>lwfshr</author><pubDate>Sun, 15 Nov 2009 09:47:39 +0800</pubDate><description><![CDATA[Cart.java原代码如下：
package com.jspdev.ch6;import java.util.HashMap;
public class Cart { private String userId;//用户的标识 private HashMap items;//购物车中的物品 public void addItem(String itemId,int quantity) {  ...]]></description><category></category></item><item><title><![CDATA[JSP文件无法保存中文]]></title><link>https://blog.youkuaiyun.com/lwfshr/article/details/83488566</link><guid>https://blog.youkuaiyun.com/lwfshr/article/details/83488566</guid><author>lwfshr</author><pubDate>Wed, 11 Nov 2009 18:12:11 +0800</pubDate><description><![CDATA[修改JSP文件，特别是加了中文后无法保存时，提示：some characters cannot be  mapped using &quot;ISO-8859-1&quot;character  encoding 时，解决方法如下：在该JSP文件中开头加入：
&amp;lt;%@ page language=&quot;java&quot; contentType=&quot;text/html; charset=UTF-8&quot;    pageEncod...]]></description><category></category></item><item><title><![CDATA[硕士论文的写法]]></title><link>https://blog.youkuaiyun.com/lwfshr/article/details/83467160</link><guid>https://blog.youkuaiyun.com/lwfshr/article/details/83467160</guid><author>lwfshr</author><pubDate>Thu, 08 Oct 2009 15:47:00 +0800</pubDate><description><![CDATA[关于数据挖掘方面的研究，我原来也走过一些弯路。其实从数据挖掘的起源可以发现，它并不是一门崭新的科学，而是综合了统计分析、机器学习、人工智能、数据库等诸多方面的研究成果而成，同时与专家系统、知识管理等研究方向不同的是，数据挖掘更侧重于应用的层面。  因此来说，数据挖掘融合了相当多的内容，试图全面了解所有的细节会花费很长的时间。因此我建议你的第一步是用大概三个月的时间了解数据挖掘的几个常用技术：分类、...]]></description><category></category></item><item><title><![CDATA[QTP读取配置文件的方法以及正则表达式的使用]]></title><link>https://blog.youkuaiyun.com/lwfshr/article/details/83442135</link><guid>https://blog.youkuaiyun.com/lwfshr/article/details/83442135</guid><author>lwfshr</author><pubDate>Mon, 17 Aug 2009 14:41:52 +0800</pubDate><description><![CDATA[首先定义配置文件：如在 readLoginFile.vbs
中写入：Dim rootAccount
rootAccount=root
 
然后在QTP中调用该配置文件，并且使用该参数即可，如下:
'  ********************读取登陆文件内容******************ExecuteFile  &quot;..\readLoginFile.vbs&quot;   '使用相对路径
....]]></description><category></category></item><item><title><![CDATA[关于QTP添加帐号重复的处理方法]]></title><link>https://blog.youkuaiyun.com/lwfshr/article/details/83442134</link><guid>https://blog.youkuaiyun.com/lwfshr/article/details/83442134</guid><author>lwfshr</author><pubDate>Mon, 17 Aug 2009 14:31:09 +0800</pubDate><description><![CDATA[ 
    如果添加重复的帐号，根据web页面弹出的提示框是什么，下面以页面弹出的“确定”窗口来判断，然后在QTP的报告中打印相关的信息。
 
set tipWin=Browser(&quot;name:=号码百事通个人助理_超级管理员&quot;).Dialog(&quot;text:=Microsoft Internet Explorer&quot;)  if tipWin.WinButton(&quot;text:=确定&quot;).Exis...]]></description><category></category></item></channel></rss>