??xml version="1.0" encoding="utf-8" standalone="yes"?>久久精品国产亚洲aⅴ,久久久999,亚洲欧美日韩国产成人综合一二三区http://www.aygfsteel.com/matthew2006/No Buddha tree at all,And bright mirror nor.Now nothing at all,How dusts any more ? zh-cnSat, 17 May 2025 06:36:59 GMTSat, 17 May 2025 06:36:59 GMT60Struts2 select标签g数据库读取,再提交给actionhttp://www.aygfsteel.com/matthew2006/archive/2011/11/29/365152.htmlmatthewmatthewTue, 29 Nov 2011 15:07:00 GMThttp://www.aygfsteel.com/matthew2006/archive/2011/11/29/365152.htmlhttp://www.aygfsteel.com/matthew2006/comments/365152.htmlhttp://www.aygfsteel.com/matthew2006/archive/2011/11/29/365152.html#Feedback3http://www.aygfsteel.com/matthew2006/comments/commentRss/365152.htmlhttp://www.aygfsteel.com/matthew2006/services/trackbacks/365152.html 问题描述Q?addpost.jsp面有post的相关信息,如post.id,post.name,和post.cidQ所属栏目信息column.idQ。所属栏目id通过select标签来选择Q其list值来自columnAction获得的栏目list。然后post所有信息提交到PostAction的insertҎ来处理,完成dpost工作?br />解决ҎQ?br />1.在columnAction中添加方法findAllColumns(),q回一个column的list?
public String findAllColumns(){
        
try {
            columnList
=columnService.findAllColumn();
        }
 catch (SQLException e) {
            e.printStackTrace();
            
return "error";
        }

        
return null;
    }

2.配置struts.xml
     <action name="findAllColumns" class="cms.action.ColumnAction" method="findAllColumns">
     </action>
3.  addpost.jsp面
       
       <s:action name="findAllColumns" id="findAllColumns" />
          
<td>
         
<s:select label="选择栏目" name="posts.cid" id="cid" listKey="cid" listValue="cname" headerKey="0" headerValue="-- 请选择  --" list="#findAllColumns.columnList"></s:select> 
        
</td>
4.  PostAction的insertҎ
    public String insertPost(){
        
try{
            Date date 
= Calendar.getInstance().getTime();
            SimpleDateFormat formatter 
= new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
            String dateString 
= formatter.format(date);
            HttpSession session 
= ServletActionContext.getRequest().getSession();
            Users user
=(Users) session.getAttribute("user");
            posts.setUid(user.getId());
            posts.setPdate(dateString) ;
            postService.safePosts(posts);
            
return "addPost";
        }
catch (Exception e){
              e.printStackTrace();
            
return "Error";
        }

        
    }


matthew 2011-11-29 23:07 发表评论
]]>
jbpm3插g的中文ؕ码问?/title><link>http://www.aygfsteel.com/matthew2006/archive/2010/04/20/318828.html</link><dc:creator>matthew</dc:creator><author>matthew</author><pubDate>Tue, 20 Apr 2010 03:19:00 GMT</pubDate><guid>http://www.aygfsteel.com/matthew2006/archive/2010/04/20/318828.html</guid><wfw:comment>http://www.aygfsteel.com/matthew2006/comments/318828.html</wfw:comment><comments>http://www.aygfsteel.com/matthew2006/archive/2010/04/20/318828.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.aygfsteel.com/matthew2006/comments/commentRss/318828.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/matthew2006/services/trackbacks/318828.html</trackback:ping><description><![CDATA[       我的开发环境如下:MyEclipse8.0,jbpm-jpdl-3.2.2。每ơ做程图时Q遇到有中文的情况,程文ggpd.xml׃昄q。ؕ码ƈ不是不能把流E发布到数据库,而是在生成流E监控的时候会出现问题?br />         在网上找了很多方法都不适用Q最l在一个网友介l的Ҏ中得C解决。该Ҏ大致是修改ui.jar里面的某个类的源码,在代码中q行~码的{换?br />         <img src ="http://www.aygfsteel.com/matthew2006/aggbug/318828.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/matthew2006/" target="_blank">matthew</a> 2010-04-20 11:19 <a href="http://www.aygfsteel.com/matthew2006/archive/2010/04/20/318828.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>MyEclipse8.0集成JBPM3.2.3http://www.aygfsteel.com/matthew2006/archive/2010/04/06/317561.htmlmatthewmatthewTue, 06 Apr 2010 08:04:00 GMThttp://www.aygfsteel.com/matthew2006/archive/2010/04/06/317561.htmlhttp://www.aygfsteel.com/matthew2006/comments/317561.htmlhttp://www.aygfsteel.com/matthew2006/archive/2010/04/06/317561.html#Feedback0http://www.aygfsteel.com/matthew2006/comments/commentRss/317561.htmlhttp://www.aygfsteel.com/matthew2006/services/trackbacks/317561.html        环境QMyEclipse8.0Qjbpm-jpdl-3.2.3Qtomcat6.0。网上没有具体关于MyEclipse8.0如何集成jbpm3的方法,倒是有集成jbpm4.0的方法,但此法不适用jbpm3.0。本文借用“MyEclipse 7.0 安装jbpm插g:jbpm-jpdl-designer-3.1.4”的方法,完成了MyEclipse8.0与jbpm-jpdl-3.2.3的集成,目前q行良好。方法如下:
       假设MyEclipse8.0的安装\径是QD:\Program Files\Genuitec\MyEclipse 8.x LatestQjbpm-jpdl-3.2.3插g的解压\径:E:\Java\jbpm-jpdl-3.2.3\designer。运行以下程序:

 1import java.io.File; 
 2import java.util.ArrayList; 
 3import java.util.List; 
 4
 5public class CreatePluginsConfig 
 6
 7    public CreatePluginsConfig()
 8    }
 
 9
10    public void print(String path)
11        List list=getFileList(path); 
12        if(list==null)
13            return
14        }
 
15
16        int length=list.size(); 
17        for(int i=0;i<length;i++)
18            String result=""
19            String thePath=getFormatPath(getString(list.get(i))); 
20            File file=new File(thePath); 
21            if(file.isDirectory())
22                String fileName=file.getName(); 
23                if(fileName.indexOf("_")<0)
24                    print(thePath); 
25                    continue
26                }
 
27                String[] filenames=fileName.split("_"); 
28                String filename1=filenames[0]; 
29                String filename2=filenames[1]; 
30                result=filename1+","+filename2+",file:/"+path+"\\"+fileName+"\\,4,false"
31                System.out.println(result); 
32            }
else if(file.isFile())
33                String fileName=file.getName(); 
34                if(fileName.indexOf("_")<0)
35                    continue
36                }
 
37                int last = fileName.lastIndexOf("_");// 最后一个下划线的位|?nbsp;
38                String filename1 = fileName.substring(0, last); 
39                String filename2 = fileName.substring(last + 1, fileName .length() - 4); 
40                result = filename1 + "," + filename2 + ",file:/" + path + "\\" + fileName + ",4,false"
41                System.out.println(result); 
42            }
 
43
44        }
 
45    }
 
46
47    public List getFileList(String path)
48        path=getFormatPath(path); 
49        path=path+"/"
50        File filePath=new File(path); 
51        if(!filePath.isDirectory())
52            return null
53        }
 
54        String[] filelist=filePath.list(); 
55        List filelistFilter=new ArrayList(); 
56
57        for(int i=0;i<filelist.length;i++)
58            String tempfilename=getFormatPath(path+filelist[i]); 
59            filelistFilter.add(tempfilename); 
60        }
 
61        return filelistFilter; 
62    }
 
63
64    public String getString(Object object)
65        if(object==null)
66            return ""
67        }
 
68        return String.valueOf(object); 
69    }
 
70
71    public String getFormatPath(String path) 
72        path = path.replaceAll("\\\\""/"); 
73        path = path.replaceAll("//""/"); 
74        return path; 
75    }
 
76
77    public static void main(String[] args){
78        //插g文g所在目录designer下的目录l构是eclipse/features and plugins的Ş?/span>
79        String plugin = "E:\\Java\\jbpm-jpdl-3.2.3\\designer"
80        new CreatePluginsConfig().print(plugin); 
81    }
 
82}
 
83

       打印出来的插g配置信息复制?br /> D:\Program Files\Genuitec\MyEclipse 8.x Latest\configuration\org.eclipse.equinox.simpleconfigurator\bundles.info中。然后重启MyEclipse8.0卛_Q?br />       



matthew 2010-04-06 16:04 发表评论
]]>
WordPress打造CMS|站之文件上传受?/title><link>http://www.aygfsteel.com/matthew2006/archive/2009/11/24/303526.html</link><dc:creator>matthew</dc:creator><author>matthew</author><pubDate>Tue, 24 Nov 2009 14:26:00 GMT</pubDate><guid>http://www.aygfsteel.com/matthew2006/archive/2009/11/24/303526.html</guid><wfw:comment>http://www.aygfsteel.com/matthew2006/comments/303526.html</wfw:comment><comments>http://www.aygfsteel.com/matthew2006/archive/2009/11/24/303526.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.aygfsteel.com/matthew2006/comments/commentRss/303526.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/matthew2006/services/trackbacks/303526.html</trackback:ping><description><![CDATA[        <br />        在大多CMSpȝ中会有音频,视频上传的需求。wordpress默认的编辑工兯带有音频视频上传功能Q? <p>但其默认只允怸?M以下的文件。解军_法是对php的php.ini文g的配|进行修改,Ҏ是修改如下字D늚|</p> <p>file_uploads   on 是否允许通过HTTP上传文g的开兟뀂默认ؓONx开<br /> upload_tmp_dir      文g上传x务器上存储时文件的地方Q如果没指定׃用系l默认的临时文g?br /> upload_max_filesize    20m   望文生意Q即允许上传文g大小的最大倹{默认ؓ2M<br /> post_max_size      30m     指通过表单POSTlPHP的所能接收的最大|包括表单里的所有倹{默认ؓ8M。如果上传比较大的文件一般要把post_max_size      30m讄的比upload_max_filesize的值更大?/p> <p>      一般到q步基本可以了Q但是由于我们的日常|络不会太好Q单个下载页面运行会持箋一D|_q样可能造成上传p|。还需要对以下字段q行配置Q?/p> <p>max_execution_time   300   每个PHP面q行的最大时间?U?Q默?0U?br /> max_input_time   300   每个PHP面接收数据所需的最大时_默认60U?br /> memory_limit    128m   每个PHP面所吃掉的最大内存,默认8M</p> <br />  又是怹没来blogjava了,最q在研究wordpress的cms应用Q目前网站基本已l看不出博客pȝ的样子,从头到尾一个h来写个网站,几乎不可能也没有必要了,有了q些成熟且普遍应用的q_Q在其之上做个部门或公司的小型系l,g快的很。该慢慢ȝ下,是对这个过E的记录。以备以后需要方便查询? <img src ="http://www.aygfsteel.com/matthew2006/aggbug/303526.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/matthew2006/" target="_blank">matthew</a> 2009-11-24 22:26 <a href="http://www.aygfsteel.com/matthew2006/archive/2009/11/24/303526.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>MySQL时问题http://www.aygfsteel.com/matthew2006/archive/2009/06/22/283573.htmlmatthewmatthewMon, 22 Jun 2009 06:56:00 GMThttp://www.aygfsteel.com/matthew2006/archive/2009/06/22/283573.htmlhttp://www.aygfsteel.com/matthew2006/comments/283573.htmlhttp://www.aygfsteel.com/matthew2006/archive/2009/06/22/283573.html#Feedback0http://www.aygfsteel.com/matthew2006/comments/commentRss/283573.htmlhttp://www.aygfsteel.com/matthew2006/services/trackbacks/283573.html         一个都L的目Q最q出C个问题。描q如下:当天使用很正常,CW二天就不能d使用Q具体的说不能访问数据库。重?#8220;猫”之后Q能正常使用Q但到第二天又不行啦。根据日志分析,是MySQL数据库连接关闭了?br /> “java.sql.SQLException
MESSAGE: Communication link failure: java.net.SocketException, underlying cause: Software caused connection abort: recv failed”.

        上网查了些帖子,发现可能是MySQL5.0版本的一个bugQ超旉题。MySQL默认{待旉间隔wait_timeout?时Q也是8时内,我们的系l没有用,没有Ҏ据库q行讉K的话Q数据库会关闭连接,而当我们pȝ用这些连接对数据库进行访问时Q就会出Cq问题?br />           解决办法?U:
1. 对于MySQL5之前的版本,如Mysql4.xQ只需要修改连接池配置中的URLQ添加一个参敎ͼautoReconnect=trueQ如果是MySQL5及以后的版本Q则需要修改my.ini文g。在[mysqld]后面d上: wait_timeout=1814400Q把默认?时量廉?br /> 2. 采用W三方的数据库连接池来管理连接, 如,proxool、C3P0{。性能斚w据说proxool更强些。由于该pȝ用了hibernateQ对C3P0支持比较好,C3P0.jar包无需另外下蝲。C3P0和hibernate的配|也相对单,如下Q?br />          先把C3P0.jar包拷贝到WEB-INF\lib下,然后修改hibernate.cfg.xml文gQ加入以下内容:
<!--C3P0 setting-->
        <property name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
        <property name="hibernate.c3p0.min_size">2</property>
        <property name="hibernate.c3p0.timeout">5000</property>
        <property name="hibernate.c3p0.max_statements">100</property>
        <property name="hibernate.c3p0.idle_test_period">3000</property>
        <property name="hibernate.c3p0.acquire_increment">2</property>
        <property name="hibernate.c3p0.validate">false</property>

         q样基本可以解决MySQL的超旉题,如何查该Ҏ是否有效呢?可以通过修改服务器的pȝ日期Q把日期往前推几个月,然后再访问系l,看是否还报错?br />

matthew 2009-06-22 14:56 发表评论
]]>
SQL Server不能启动 http://www.aygfsteel.com/matthew2006/archive/2009/04/19/266402.htmlmatthewmatthewSun, 19 Apr 2009 04:55:00 GMThttp://www.aygfsteel.com/matthew2006/archive/2009/04/19/266402.htmlhttp://www.aygfsteel.com/matthew2006/comments/266402.htmlhttp://www.aygfsteel.com/matthew2006/archive/2009/04/19/266402.html#Feedback0http://www.aygfsteel.com/matthew2006/comments/commentRss/266402.htmlhttp://www.aygfsteel.com/matthew2006/services/trackbacks/266402.html         qSQL Server的日志查看,发现如下描述Q?br />
2009-04-17 23:32:20.16 server    Copyright (C) 1988-2002 Microsoft Corporation.
2009-04-17 23:32:20.16 server    保留所有权利?br /> 2009-04-17 23:32:20.16 server    服务器进E?ID ?520?br /> 2009-04-17 23:32:20.16 server    ?SQL Server 消息记录在文?#8220;C:\Program Files\Microsoft SQL Server\MSSQL\log\ERRORLOG”中?br /> 2009-04-17 23:32:20.34 server    SQL Server 正在以优先“normal”Q已到 1 CPUQ启动?br /> 2009-04-17 23:32:26.84 server    已ؓ thread 模式处理而配|了 SQL Server?br /> 2009-04-17 23:32:26.91 server    使用 dynamic 锁分配。[500] 锁块Q[1000] 锁所有者块?br /> 2009-04-17 23:32:28.21 spid3     启动数据?#8220;master”?br /> 2009-04-17 23:32:33.91 server    正在使用“SSNETLIB.DLL”版本“8.0.2039”?br /> 2009-04-17 23:32:33.92 spid5     启动数据?#8220;model”?br /> 2009-04-17 23:32:33.96 spid3     服务器名U是“MATTHEW-6E9E0D4”?br /> 2009-04-17 23:32:33.96 spid3     Skipping startup of clean database id 4
2009-04-17 23:32:33.96 spid3     Skipping startup of clean database id 5
2009-04-17 23:32:33.96 spid3     Skipping startup of clean database id 6
2009-04-17 23:32:33.96 spid3     Skipping startup of clean database id 7
2009-04-17 23:32:33.96 spid3     Skipping startup of clean database id 8
2009-04-17 23:32:33.96 spid3     Skipping startup of clean database id 9
2009-04-17 23:32:34.65 spid5     错误: 9003Q严重度: 20Q状? 1
2009-04-17 23:32:34.65 spid5     LSN (6:183:1) 无效。该 LSN 是传递给数据?'model' 中的日志扫描操作的。?br /> 2009-04-17 23:32:34.65 spid5     错误: 9003Q严重度: 20Q状? 1
2009-04-17 23:32:34.65 spid5     The LSN (6:183:1) passed to log scan in database 'model' is invalid.?/span>
         问题的根源在“错误Q?003”Q还有后面的“The LSN (6:183:1) passed to log scan in database 'model' is invalid.?/span>”在网上浏览了一些不能启动的原因Q没有找到解决的办法。不q,通过仔细研究Q发现SQL Server的基本数据库文g如果损坏的话Q可能会引v不能正常启动的后果。结合错误日志的提示Q是?model"q个数据库文件有问题呢?于是Q找到SQL Server的安装盘Qƈ扑ֈX86\DATA目录下的model.mdf和modellog.ldfQƈ把这两个文g拯到SQL Server的安装\径下Microsoft SQL Server\MSSQL\Data的目录下Q覆盖原有文件。然后,再启动。哈哈,ok啦?br />       “内事不决问百度,外事不决问Google”Q果然没错。当Ӟ也要l合自己个体原因d析、解冟?

matthew 2009-04-19 12:55 发表评论
]]>
SQL server存储q程http://www.aygfsteel.com/matthew2006/archive/2008/11/14/240453.htmlmatthewmatthewFri, 14 Nov 2008 01:52:00 GMThttp://www.aygfsteel.com/matthew2006/archive/2008/11/14/240453.htmlhttp://www.aygfsteel.com/matthew2006/comments/240453.htmlhttp://www.aygfsteel.com/matthew2006/archive/2008/11/14/240453.html#Feedback1http://www.aygfsteel.com/matthew2006/comments/commentRss/240453.htmlhttp://www.aygfsteel.com/matthew2006/services/trackbacks/240453.html
      需求描qͼ数据库中有一M从表QA和BQA和B是一对多的关pR另有和A、Bl构相同的表C和表D。要实现Q通过表A的主键idQ把与此id值相关的记录Q表A和表B中)分别更新插入到表C和表D中,同时要求有事务控制?br />
      分析要点Q?Q存储过E需要传入一个参敎ͼid?Q表B中的记录多少不定Q可能需要插入多条记录?Q整个过E需要事务控制?br />
      实现代码如下Q?br />
CREATE PROCEDURE query_pro_info  
 
@pi_id int
AS
begin
   
begin transaction
   
if exists (select * from pro_ent_info where PI_ID=@pi_id)
      
delete pro_ent_info where PI_ID=@pi_id
      
insert into pro_ent_info(EI_ID,EP_ID,EP_TYP,CI_ID,CI_NUM,CI_TOT,CI_TYP,PI_ID,PI_NUM,PI_NAM,PI_CLI,PI_CLI_TEL,PI_CLI_MAN,PI_ARE,PI_CAT,PI_STA,PI_MAN,PI_ADD,PI_REM,PI_CHE,PI_PLA_SPA,PI_PLA_BEG,PI_PLA_END,PI_CRE_DAT,PI_CRE_MAN,PI_MOD_DAT,PI_MOD_MAN)select EI_ID,EP_ID,EP_TYP,CI_ID,CI_NUM,CI_TOT,CI_TYP,PI_ID,PI_NUM,PI_NAM,PI_CLI,PI_CLI_TEL,PI_CLI_MAN,PI_ARE,PI_CAT,PI_STA,PI_MAN,PI_ADD,PI_REM,PI_CHE,PI_PLA_SPA,PI_PLA_BEG,PI_PLA_END,PI_CRE_DAT,PI_CRE_MAN,PI_MOD_DAT,PI_MOD_MAN from pro_info where pro_info.PI_ID=@pi_id
   
if exists (select * from pro_ent_cost where PI_ID=@pi_id)
      
delete pro_ent_cost where PI_ID=@pi_id
      
insert into pro_ent_cost(PI_ID,PC_ID,PC_DIV,PC_DIV_SEQ,PC_BUD_LAB,PC_BUD_MAT,PC_BUD_DEV,PC_BUD_CMP,PC_BUD_TOT,PC_BUD_REM,PC_PLA_LAB,PC_PLA_MAT,PC_PLA_DEV,PC_PLA_CMP,PC_PLA_TOT,PC_PLA_REM,PC_ACT_LAB,PC_ACT_MAT,PC_ACT_DEV,PC_ACT_CMP,PC_ACT_TOT,PC_ACT_REM,PC_DIV_PLA_BEG,PC_DIV_PLA_END,PC_DIV_PLA_SPA,PC_DIV_ACT_BEG,PC_DIV_ACT_END,PC_DIV_ACT_SPA,PC_DIV_SPA_ABN,PC_PRO_REC,PC_DIV_PAI,PC_DIV_SHO,PC_CHE,PC_OFF,PC_REM,PC_CRE_DAT,PC_CRE_MAN,PC_MOD_DAT,PC_MOD_MAN)select PI_ID,PC_ID,PC_DIV,PC_DIV_SEQ,PC_BUD_LAB,PC_BUD_MAT,PC_BUD_DEV,PC_BUD_CMP,PC_BUD_TOT,PC_BUD_REM,PC_PLA_LAB,PC_PLA_MAT,PC_PLA_DEV,PC_PLA_CMP,PC_PLA_TOT,PC_PLA_REM,PC_ACT_LAB,PC_ACT_MAT,PC_ACT_DEV,PC_ACT_CMP,PC_ACT_TOT,PC_ACT_REM,PC_DIV_PLA_BEG,PC_DIV_PLA_END,PC_DIV_PLA_SPA,PC_DIV_ACT_BEG,PC_DIV_ACT_END,PC_DIV_ACT_SPA,PC_DIV_SPA_ABN,PC_PRO_REC,PC_DIV_PAI,PC_DIV_SHO,PC_CHE,PC_OFF,PC_REM,PC_CRE_DAT,PC_CRE_MAN,PC_MOD_DAT,PC_MOD_MAN from pro_cost where pro_cost.PI_ID=@pi_id
   
if(@@error<>0)
      
begin
         
print('rollback transaction')
         
rollback transaction
         
return 0
       
end
       
commit transaction

end
GO

       l过调试Q功能基本正常。只是事务控制处理部分不知道写的对不寏V望各位指正Q?

matthew 2008-11-14 09:52 发表评论
]]>
FckEditor~辑器添加对话框的内?/title><link>http://www.aygfsteel.com/matthew2006/archive/2008/09/24/230883.html</link><dc:creator>matthew</dc:creator><author>matthew</author><pubDate>Wed, 24 Sep 2008 06:56:00 GMT</pubDate><guid>http://www.aygfsteel.com/matthew2006/archive/2008/09/24/230883.html</guid><wfw:comment>http://www.aygfsteel.com/matthew2006/comments/230883.html</wfw:comment><comments>http://www.aygfsteel.com/matthew2006/archive/2008/09/24/230883.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.aygfsteel.com/matthew2006/comments/commentRss/230883.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/matthew2006/services/trackbacks/230883.html</trackback:ping><description><![CDATA[问题描述Q?br />          在添加图片或者音频视频的时候,如果需要一个资源title字段来表C资源的标题内容,q要控制这个必填项Q如果该输入ؓI就不能完成整个内容的添加?br /> <br /> 首先Q需要在囄或资源输入对话框里添加一个字DresourceTitle输入框,Q我们以音频视频ZQ在editor\dialog下的fck_flash.htmld以下内容Q?br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #0000ff"><</span><span style="color: #800000">TR</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />                                </span><span style="color: #0000ff"><</span><span style="color: #800000">TD </span><span style="color: #ff0000">nowrap</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />                                    </span><span style="color: #0000ff"><</span><span style="color: #800000">span </span><span style="color: #ff0000">fckLang</span><span style="color: #0000ff">="DlgResourceTitle"</span><span style="color: #0000ff">></span><span style="color: #000000">resourcetitle</span><span style="color: #0000ff"></</span><span style="color: #800000">span</span><span style="color: #0000ff">><</span><span style="color: #800000">br</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />                                    </span><span style="color: #0000ff"><</span><span style="color: #800000">input </span><span style="color: #ff0000">id</span><span style="color: #0000ff">="resourceTitle"</span><span style="color: #ff0000"> type</span><span style="color: #0000ff">="text"</span><span style="color: #ff0000"> size</span><span style="color: #0000ff">="33"</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />                                </span><span style="color: #0000ff"></</span><span style="color: #800000">TD</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />                                </span><span style="color: #0000ff"><</span><span style="color: #800000">TD</span><span style="color: #0000ff">></span><span style="color: #ff0000">&nbsp;</span><span style="color: #0000ff"></</span><span style="color: #800000">TD</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />                            </span><span style="color: #0000ff"></</span><span style="color: #800000">TR</span><span style="color: #0000ff">></span></div> 其中QDlgResouceTitle在\editor\lang下的zh-cn.js文g中定义,如:DlgResourceTitle : "资源标题"?br /> <br /> <br /> q样对话框中可以多Z?#8220;资源标题”的输入框Q要对其q行判断和控刉要修改editor\dialog\fck_flash下的fck_flash.js文gQ如Q?Q在 <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><span style="color: #008080">1</span><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #0000ff">function</span><span style="color: #000000"> LoadSelection()<br /> </span><span style="color: #008080">2</span><span style="color: #000000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />{<br /> </span><span style="color: #008080">3</span><span style="color: #000000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff">if</span><span style="color: #000000"> ( ! oEmbed ) return ;<br /> </span><span style="color: #008080">4</span><span style="color: #000000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> </span><span style="color: #008080">5</span><span style="color: #000000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    GetE(</span><span style="color: #008000">'</span><span style="color: #008000">txtUrl').value    = GetAttribute( oEmbed, 'src', '' ) ;</span><span style="color: #008000"><br /> </span><span style="color: #008080">6</span><span style="color: #008000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #000000">    GetE(</span><span style="color: #008000">'</span><span style="color: #008000">txtWidth').value  = GetAttribute( oEmbed, 'width', '' ) ;</span><span style="color: #008000"><br /> </span><span style="color: #008080">7</span><span style="color: #008000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #000000">    GetE(</span><span style="color: #008000">'</span><span style="color: #008000">txtHeight').value = GetAttribute( oEmbed, 'height', '' ) ;</span><span style="color: #008000"><br /> </span><span style="color: #008080">8</span><span style="color: #008000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #000000">    GetE(</span><span style="color: #008000">'</span><span style="color: #008000">resourceTitle').value = GetAttribute( oEmbed, 'resourcetitle', '' ) ;</span></div> 中添?行那D代码;2Q然后在function Ok()Ҏ中,dQ?br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><span style="color: #008080">1</span><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #0000ff">if</span><span style="color: #000000"> ( GetE(</span><span style="color: #008000">'</span><span style="color: #008000">resourceTitle').value.length == 0 )</span><span style="color: #008000"><br /> </span><span style="color: #008080">2</span><span style="color: #008000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #000000">    {<br /> </span><span style="color: #008080">3</span><span style="color: #000000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />        dialog.SetSelectedTab( </span><span style="color: #008000">'</span><span style="color: #008000">Info' ) ;</span><span style="color: #008000"><br /> </span><span style="color: #008080">4</span><span style="color: #008000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #000000">        GetE(</span><span style="color: #008000">'</span><span style="color: #008000">resourceTitle').focus() ;</span><span style="color: #008000"><br /> </span><span style="color: #008080">5</span><span style="color: #008000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #000000"><br /> </span><span style="color: #008080">6</span><span style="color: #000000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />        alert( oEditor.FCKLang.DlgAlertFlashTitle ) ;<br /> </span><span style="color: #008080">7</span><span style="color: #000000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> </span><span style="color: #008080">8</span><span style="color: #000000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />        return </span><span style="color: #0000ff">false</span><span style="color: #000000"> ;<br /> </span><span style="color: #008080">9</span><span style="color: #000000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    }</span></div> q个Ҏ中的DlgAlerFlashTitle同样是在\editor\lang下的zh-cn.js文g中定义,文字内容是弹出的警告信息的内容?br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">DlgAlertFlashTitle    : </span><span style="color: #000000">"</span><span style="color: #000000">误入资源标?/span><span style="color: #000000">"</span><span style="color: #000000">,</span></div> <br /> 3Qؓ了在修改参数时能昄“资源标题”的内容,需要在UpdateEmbed( e )Ҏ中:<br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><span style="color: #008080"> 1</span><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #0000ff">if</span><span style="color: #000000">(FlashPlayer(GetE(</span><span style="color: #008000">'</span><span style="color: #008000">txtUrl').value)!=null){</span><span style="color: #008000"><br /> </span><span style="color: #008080"> 2</span><span style="color: #008000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #000000"><br /> </span><span style="color: #008080"> 3</span><span style="color: #000000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />SetAttribute( e, </span><span style="color: #008000">'</span><span style="color: #008000">type' , 'application/x-shockwave-flash' ) ;</span><span style="color: #008000"><br /> </span><span style="color: #008080"> 4</span><span style="color: #008000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #000000"><br /> </span><span style="color: #008080"> 5</span><span style="color: #000000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />SetAttribute( e, </span><span style="color: #008000">'</span><span style="color: #008000">pluginspage' , 'http://www.macromedia.com/go/getflashplayer' ) ;</span><span style="color: #008000"><br /> </span><span style="color: #008080"> 6</span><span style="color: #008000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #000000"><br /> </span><span style="color: #008080"> 7</span><span style="color: #000000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />}<br /> </span><span style="color: #008080"> 8</span><span style="color: #000000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> </span><span style="color: #008080"> 9</span><span style="color: #000000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> </span><span style="color: #008080">10</span><span style="color: #000000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    SetAttribute( e, </span><span style="color: #008000">'</span><span style="color: #008000">src', GetE('txtUrl').value ) ;</span><span style="color: #008000"><br /> </span><span style="color: #008080">11</span><span style="color: #008000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #000000">    SetAttribute( e, </span><span style="color: #000000">"</span><span style="color: #000000">resourcetitle</span><span style="color: #000000">"</span><span style="color: #000000"> , GetE(</span><span style="color: #008000">'</span><span style="color: #008000">resourceTitle').value ) ;</span><span style="color: #008000"><br /> </span><span style="color: #008080">12</span><span style="color: #008000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #000000">    SetAttribute( e, </span><span style="color: #000000">"</span><span style="color: #000000">width</span><span style="color: #000000">"</span><span style="color: #000000"> , GetE(</span><span style="color: #008000">'</span><span style="color: #008000">txtWidth').value ) ;</span><span style="color: #008000"><br /> </span><span style="color: #008080">13</span><span style="color: #008000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #000000">    SetAttribute( e, </span><span style="color: #000000">"</span><span style="color: #000000">height</span><span style="color: #000000">"</span><span style="color: #000000">, GetE(</span><span style="color: #008000">'</span><span style="color: #008000">txtHeight').value ) ;</span><span style="color: #008000"><br /> </span><span style="color: #008080">14</span><span style="color: #008000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #000000"><br /> </span><span style="color: #008080">15</span><span style="color: #000000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #000000">//</span><span style="color: #000000"> Advances Attributes</span></div> <br /> d11行代码?br /> <br /> 囄输入对话框的Ҏ大致一P׃做多解释?br /> <img src ="http://www.aygfsteel.com/matthew2006/aggbug/230883.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/matthew2006/" target="_blank">matthew</a> 2008-09-24 14:56 <a href="http://www.aygfsteel.com/matthew2006/archive/2008/09/24/230883.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FckEditor英文q问题解决http://www.aygfsteel.com/matthew2006/archive/2008/07/24/217274.htmlmatthewmatthewThu, 24 Jul 2008 12:18:00 GMThttp://www.aygfsteel.com/matthew2006/archive/2008/07/24/217274.htmlhttp://www.aygfsteel.com/matthew2006/comments/217274.htmlhttp://www.aygfsteel.com/matthew2006/archive/2008/07/24/217274.html#Feedback3http://www.aygfsteel.com/matthew2006/comments/commentRss/217274.htmlhttp://www.aygfsteel.com/matthew2006/services/trackbacks/217274.html          背景QFckEditor已经能够创徏中文文g夏V能上传中文的图片、声韟뀁文字;但是在上传成功后Q会发现囄的链接在数据库以及前台显C是cM/GisAdmin”q样的ؕ码。这Ll果是虽然能在上传的输入框里预览囄的效果,但是一旦提交后Q在前台是不能昄囄、音频和视频?br />         描述了半天,其实解决办法很简单:修改FCKeditor下的FckConfig.js文gQ设|如下:FCKConfig.ProcessHTMLEntities = false;卛_Q?br />

matthew 2008-07-24 20:18 发表评论
]]>
FckEditor上传音频视频http://www.aygfsteel.com/matthew2006/archive/2008/07/16/215277.htmlmatthewmatthewWed, 16 Jul 2008 09:59:00 GMThttp://www.aygfsteel.com/matthew2006/archive/2008/07/16/215277.htmlhttp://www.aygfsteel.com/matthew2006/comments/215277.htmlhttp://www.aygfsteel.com/matthew2006/archive/2008/07/16/215277.html#Feedback88http://www.aygfsteel.com/matthew2006/comments/commentRss/215277.htmlhttp://www.aygfsteel.com/matthew2006/services/trackbacks/215277.html
         软g版本QFckEditor2.6.2Q^収ͼWindows XPQ数据库QMySQL?br /> 1.  分别打开editor/js文g夹下的fckeditorcode_ie.js、fckeditorcode_gecko.js文g。将代码Q?br />
||/\.swf($|#|\?)/i.test(A.src) 
替换为:
1||/\.swf($|#|\?)/i.test(A.src)||/\.mpg($|#|\?)/i.test(A.src)||/\.asf($|#|\?)/i.test(A.src)||/\.wma($|#|\?)/i.test(A.src)
2
3||/\.wmv($|#|\?)/i.test(A.src)||/\.avi($|#|\?)/i.test(A.src)||/\.mov($|#|\?)/i.test(A.src)||/\.mp3($|#|\?)/i.test(A.src)
4
5||/\.rmvb($|#|\?)/i.test(A.src)||/\.mid($|#|\?)/i.test(A.src)
6
        q段代码用来判断文g后缀名,当然文g格式可以自定义,不过要考虑和其他地方相d?br /> 2. 打开/editor/dialog/fck_flash/fck_flash.js文g?br /> 2.1 增加以下E序代码Q用来判断文件后~名:
 1function WinPlayer(url){
 2
 3var r, re;
 4
 5re = /.(avi|wmv|asf|wma|mid|mp3|mpg)$/i;
 6
 7= url.match(re);
 8
 9return r;
10
11}

12
13function RealPlayer(url){
14
15var r, re;
16
17re = /.(.rm|.ra|.rmvb|ram)$/i;
18
19= url.match(re);
20
21return r;
22
23}

24
25function QuickTime(url){
26
27var r, re;
28
29re = /.(mov|qt)$/i;
30
31= url.match(re);
32
33return r;
34
35}

36
37function FlashPlayer(url){
38
39var r, re;
40
41re = /.swf$/i;
42
43= url.match(re);
44
45return r;
46
47}

48
2.2 替换两个地方的代码:一个在UpdatePreviewQ)中,:
SetAttribute( e, 'type', 'application/x-shockwave-flash' ) ;
替换为:
if(WinPlayer(GetE('txtUrl').value)!=null)

SetAttribute( e, 'type', 'application
/x-mplayer2' ) ; 

}
 

if(RealPlayer(GetE('txtUrl').value)!=null)

SetAttribute( e, 'type', 'audio
/x-pn-realaudio-plugin' ) ; 

}
 

if(QuickTime(GetE('txtUrl').value)!=null)

SetAttribute( e, 'type', 'application
/video/quicktime' ) ; 

}
 

if(FlashPlayer(GetE('txtUrl').value)!=null)

SetAttribute( e, 'type', 'application
/x-shockwave-flash' ) ; 

SetAttribute( e, 'pluginspage', 'http:
//www.macromedia.com/go/getflashplayer' ) ; 

}


另一个地方在UpdateEmbedQ)中,:
SetAttribute( e, 'type' , 'application/x-shockwave-flash' ) ;

SetAttribute( e, 'pluginspage' , 'http:
//www.macromedia.com/go/getflashplayer' ) ;
替换为:
if(WinPlayer(GetE('txtUrl').value)!=null){

SetAttribute( e, 'type' , 'application
/x-mplayer2' ) ; 

SetAttribute( e, 'autostart', GetE('chkAutoPlay').checked 
? 'true' : 'false' ) ;

}


if(RealPlayer(GetE('txtUrl').value)!=null){

SetAttribute( e, 'type' , 'audio
/x-pn-realaudio-plugin' ) ; 

SetAttribute( e, 'autostart', GetE('chkAutoPlay').checked 
? 'true' : 'false' ) ;

}


if(QuickTime(GetE('txtUrl').value)!=null){

SetAttribute( e, 'type' , 'video
/quicktime' ) ; 

SetAttribute( e, 'autostart', GetE('chkAutoPlay').checked 
? 'true' : 'false' ) ;

}


if(FlashPlayer(GetE('txtUrl').value)!=null){

SetAttribute( e, 'type' , 'application
/x-shockwave-flash' ) ;

SetAttribute( e, 'pluginspage' , 'http:
//www.macromedia.com/go/getflashplayer' ) ;

}


3.打开/fckconfig.js文gQ将Q?br />
FCKConfig.FlashUploadAllowedExtensions = ".(swf)$" ; // empty for all
替换为:
FCKConfig.FlashUploadAllowedExtensions = ".(swf|fla|mpg|asf|wma|wmv|avi|mov|mp3|rmvb|mid)$" ; // empty for all
      到此Q基本功能已l完成。剩下的是一些细节的讄?br /> 4. 其他讄
4.1 ~辑框中文字的设|:打开/editor/lang/zh-cn.js 文gQ将flash替换成想要显C的文字?br /> 4.2 默认的音频视频播放效果是循环、自动播放、带操作menu的样式,可以通过讄来显C成惌的效果。方法还是在/editor/dialog/fck_flash/fck_flash.js文gQ在UpdateEmbedQ)Ҏ中,对应的文g格式中的Q?br />
SetAttribute( e, 'play', GetE('chkAutoPlay').checked ? 'true' : 'false' )
替换为:

SetAttribute( e, 'autostart', GetE('chkAutoPlay').checked 
? 'false' : 'true' ) ;

   

matthew 2008-07-16 17:59 发表评论
]]>
动态蝲入jsp面到指定页面的区域http://www.aygfsteel.com/matthew2006/archive/2008/07/11/214344.htmlmatthewmatthewFri, 11 Jul 2008 14:29:00 GMThttp://www.aygfsteel.com/matthew2006/archive/2008/07/11/214344.htmlhttp://www.aygfsteel.com/matthew2006/comments/214344.htmlhttp://www.aygfsteel.com/matthew2006/archive/2008/07/11/214344.html#Feedback1http://www.aygfsteel.com/matthew2006/comments/commentRss/214344.htmlhttp://www.aygfsteel.com/matthew2006/services/trackbacks/214344.html        
          首先Q在W一个页面中Q?br />
 1        <table width="50%" CellSpacing=0 CellPadding=1
 2            style="border-collapse: collapse;" border="0" align="center">
 3            <tr>
 4                <td>
 5                    <div align="center">
 6                        <href="addpoint.jsp" target="main">d调查基地</a>
 7
 8                </div>
 9                </td>
10            </tr>
11            <tr>
12                <td id="main" height="150 ">
13                    <iframe width=450 height=150 name=main frameborder=0
14                        scrolling="auto ">
15                    </iframe>
16                </td>
17            </tr>
18        </table>
           另外一个页面ؓQaddpoint.jspQ这个页面的内容会动态蝲入到<td id="main">区域中,其中id属性很关键Q它和第一个页面中的target的属性值相对应?

matthew 2008-07-11 22:29 发表评论
]]>
在线~辑器FCKeditor2.6中文q-解决q程http://www.aygfsteel.com/matthew2006/archive/2008/07/11/214265.htmlmatthewmatthewFri, 11 Jul 2008 07:12:00 GMThttp://www.aygfsteel.com/matthew2006/archive/2008/07/11/214265.htmlhttp://www.aygfsteel.com/matthew2006/comments/214265.htmlhttp://www.aygfsteel.com/matthew2006/archive/2008/07/11/214265.html#Feedback6http://www.aygfsteel.com/matthew2006/comments/commentRss/214265.htmlhttp://www.aygfsteel.com/matthew2006/services/trackbacks/214265.html
          安装后简单设|一下就能够正确q行Q能够上传图片,不过传中文文件名的图片时会出现问题。解军_法(我的安装版本QFCKeditor_2.6+FCKeditor-2.3 for javaQ:
        1. 修改FCKeditor-2.3 for java中src文g夹下的ConnectorServlet.java和SimpleUploaderServlet.java。分别在q两个文件中的DiskFileUpload upload = new DiskFileUpload();后面加入Qupload.setHeaderEncoding("utf-8");
        2. 分别保存后,使用antq行~译Q命令ؓQant distQ生成新的FCKeditor-2.3.jarQ然后把q个文g加入工程中的lib文g夹下Q把以前的替换掉。在~译q程中,Ҏ不同的tomcat版本和安装\径,需要对build.xml文gq行讄。如果报deploy之类的错误,说明需要tomcat-ant包中的类支持Q进行相关的讄?br />
         到此Q基本能上传中文的图片了Q但是发现在jsp面d囄的链接时候出Cؕ码,从而导致不能在jsp面中显C。这个问题需要修改tomcat目录下conf中的server.xml文gQ?br />
<Connector port="8080" protocol="HTTP/1.1" 
               connectionTimeout
="20000" 
               redirectPort
="8443"/>
?br />
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
分别加入一句:URIEncoding="utf-8"
         q样基本解决了FCKeditor的ؕ码问题,能上传中文的囄Q能创徏中文的文件夹Q只是在控制C依然会有q。这个可以不考虑?br />

matthew 2008-07-11 15:12 发表评论
]]>
Struts的标{?1)http://www.aygfsteel.com/matthew2006/archive/2008/03/26/188891.htmlmatthewmatthewWed, 26 Mar 2008 15:23:00 GMThttp://www.aygfsteel.com/matthew2006/archive/2008/03/26/188891.htmlhttp://www.aygfsteel.com/matthew2006/comments/188891.htmlhttp://www.aygfsteel.com/matthew2006/archive/2008/03/26/188891.html#Feedback0http://www.aygfsteel.com/matthew2006/comments/commentRss/188891.htmlhttp://www.aygfsteel.com/matthew2006/services/trackbacks/188891.html 需要注意的是:action配置中的attribute属性的D?lt;bean:write>标签中name的g致。如Q?br />
1<action attribute="registerForm" input="/register.jsp"
2            name="registerForm" path="/register" scope="request"
3            type="org.springframework.web.struts.DelegatingActionProxy">
4            <forward name="failed" path="/failed.jsp" />
5            <forward name="success" path="/success.jsp" />
6        </action>
d面Q?br />
1<td>
2                        <bean:write name="registerForm" property="username"/>
3                    </td>
<bean:write>标签中的property属性就是form表单中的应该一致?br />
2.<logic:iterate>标签实现q代操作?br /> <logic:iterate>标记的name属性指定了要进行P代的集合对象Qid属性定义了q个集合对象中的一个实例名U?br /> 如,在action中获得一个查询结果集合。通过setAttributeQ)保存在request里?br />
java.util.List list=dao.findAll();
    request.setAttribute(
"users",list );
在显C页面中Q?br />
 1<table border="1">
 2        <tbody>
 3            <tr>
 4                <td>
 5                    姓名
 6                </td>
 7                <td>
 8                    q龄
 9                </td>
10                <td>
11                    邮箱
12                </td>
13                <td>
14                    密码
15                </td>
16            </tr>
17            <logic:iterate id="user" name="users">
18                <tr>
19                    <td>
20                        <bean:write name="user" property="username" />
21                    </td>
22                    <td>
23                        <bean:write name="user" property="age" />
24                    </td>
25                    <td>
26                        <bean:write name="user" property="email" />
27                    </td>
28                    <td>
29                        <bean:write name="user" property="password" />
30                    </td>
31                </tr>
32            </logic:iterate>
33        </tbody>
34    </table>

其中QnameQusers是传递过来的对象集合QidQuser是定义了对象集合中的一个实例而已?br />

matthew 2008-03-26 23:23 发表评论
]]>
音乐推荐QPutumayo世界音乐pd之Coffee Lands http://www.aygfsteel.com/matthew2006/archive/2008/02/24/181762.htmlmatthewmatthewSun, 24 Feb 2008 06:11:00 GMThttp://www.aygfsteel.com/matthew2006/archive/2008/02/24/181762.htmlhttp://www.aygfsteel.com/matthew2006/comments/181762.htmlhttp://www.aygfsteel.com/matthew2006/archive/2008/02/24/181762.html#Feedback0http://www.aygfsteel.com/matthew2006/comments/commentRss/181762.htmlhttp://www.aygfsteel.com/matthew2006/services/trackbacks/181762.html

专辑名称Q?/strong>咖啡国度之旅-听觉与味觉的饗宴
英文名称Q?/strong>A Putumayo Blend Music From The Coffee Lands
出版日期Q?/strong>1997.10.07
专辑特色Q?/strong>Putumayo世界音乐pdQ让你深入了解三大咖啡地国的香U浓郁咖啡颂

专辑介绍Q?/strong>

咖啡郁的香呻I不知让多h沉迷上癮。苦中带甘或许正是它qh之处吧!从方便快速的x咖啡到浓奶香的拉KQ甚x有劲的EspressoQ你喜欢那一U呢Q本辑收录了世界三大咖啡产地的现代歌谣:中南洲、非zӀ及太^z群岛等十二个国Ӟ随着当地歌者的歌声Q我们似乎也能感受到他们的心情,热情zL的曲调中NZ们天真朴实的本性、悠扬空L曲调倾诉着他们狂野的梦惻I如同他们生zM不可~少的咖啡一样值得你细l品呛_中的甜美。音调优、另人愉悦的拉丁及非z歌曲是本辑音乐之旅的主题,坐下来、品嚐一杯香U浓郁的咖啡Q静静聆听来自咖啡国度的优美乐声?


专辑曲目Q?/strong>

1. Guajira Bonita - Julian Avalos
2. Soltarlo - Claudia Gomez
3. Wasuze Otya? - Samite
4. Maria Lando - Susana Baca
5. Below The Bassline - Ernest Ranglin
6. M'Ban Samba - Raimundo Sodre
7. Hanzvadzi - Thomas Mapfumo
8. Dilema - Los Tradicionales Se Carlos Puebla
9. Esa Noche - Cafe Tacuba
10. Gabby Kai - James 'Bla' Pahinui
11. Kothbiro - Ayub Ogada
12. Este Son - Juan Carlos Urena
13. La Milonga De Ricardo En Cha-Cha-Cha - Ricardo Lemvo & Makina Loca

惛_的朋友可以联pLQ下面是其中一首曲子的链接地址Q?span style="text-decoration: underline">

 

Putumayo - Coffee Lands - 13 - La Milonga De Ricardo En Cha-Cha-Cha (Congo) - Ricardo Lemvo _ Makina Loca.mp3

matthew 2008-02-24 14:11 发表评论
]]>
A Gentle Transition from XML to RDF—部分翻?/title><link>http://www.aygfsteel.com/matthew2006/archive/2008/01/14/175331.html</link><dc:creator>matthew</dc:creator><author>matthew</author><pubDate>Mon, 14 Jan 2008 15:27:00 GMT</pubDate><guid>http://www.aygfsteel.com/matthew2006/archive/2008/01/14/175331.html</guid><wfw:comment>http://www.aygfsteel.com/matthew2006/comments/175331.html</wfw:comment><comments>http://www.aygfsteel.com/matthew2006/archive/2008/01/14/175331.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/matthew2006/comments/commentRss/175331.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/matthew2006/services/trackbacks/175331.html</trackback:ping><description><![CDATA[  <p style="text-align: center" align="center">XML Design(A Gentle Transition from XML to RDF)</p> <p style="text-align: center" align="center">                               Roger L. Costello</p> <p style="text-align: center" align="center">                              David B. Jacobs</p> <p><strong><span style="font-family: 宋体">什么时候?/span>rdf:ID</strong><strong><span style="font-family: 宋体">Q什么时候?/span>rdf:about?</strong></p> <p><span style="font-family: 宋体">当你想介l一个资源,q提供一pd关于q个资源的最初信息的时候?/span>rdf:ID<span style="font-family: 宋体">Q当你想扩展关于q个资源的信息时Q?/span>rdf:about<span style="font-family: 宋体">?/span>RDF<span style="font-family: 宋体">的原理和</span>Web<span style="font-family: 宋体">的原理一P无论什么hQ无Z么地方,无论什么时间都能提供关于资源的信息?/span></p> <p><strong><span style="font-family: 宋体">解释</span>RDF</strong></p> <p><span style="font-size: 9pt; color: black"><?xml version="1.0"?></span></p> <p><span style="font-size: 9pt; color: black"><River xmlns="http://www.geodesy.org/river#"></span></p> <p><span style="font-size: 9pt; color: black">     <name>Yangtze</name>     </span></p> <p><span style="font-size: 9pt; color: black">     <length>6300 kilometers</length></span></p> <p><span style="font-size: 9pt; color: black">     <startingLocation>western China's Qinghai-Tibet Plateau</startingLocation></span></p> <p><span style="font-size: 9pt; color: black">     <endingLocation>East China Sea</endingLocation></span></p> <p><span style="font-size: 9pt; color: black"></River></span></p> <p><span style="font-family: 宋体">以上</span>RDF<span style="font-family: 宋体">文g理解如下Q这是一?/span>River<span style="font-family: 宋体">cȝ实例。其名ؓ</span>Yangtze<span style="font-family: 宋体">Q长</span>6300<span style="font-family: 宋体">千米</span><span style="font-family: 宋体">Qv源地位西部青Pl束地点Z国东此</span>RDF<span style="font-family: 宋体">文档的资源是匿名的,它没有识别符?/span></p> <p><strong>rdf:Bag</strong><strong><span style="font-family: 宋体">cdQ?/span></strong><span style="font-family: 宋体">表示一个未排序的集合。如Q?/span></p>   <p><span style="font-size: 9pt; color: black"><?xml version="1.0"?></span></p> <p><span style="font-size: 9pt; color: black"><Meeting rdf:ID="XML-Design-Pattern"</span></p> <p><span style="font-size: 9pt; color: black">                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"</span></p> <p><span style="font-size: 9pt; color: black">                xmlns="http://www.business.org#"></span></p> <p><span style="font-size: 9pt; color: black">     <attendees></span></p> <p><span style="font-size: 9pt; color: black">          <strong><rdf:Bag></strong></span></p> <p><span style="font-size: 9pt; color: black">               <name>John Smith</name></span></p> <p><span style="font-size: 9pt; color: black">               <name>Sally Jones</name></span></p> <p><span style="font-size: 9pt; color: black">          <strong></rdf:Bag></strong></span></p> <p><span style="font-size: 9pt; color: black">     </attendees></span></p> <p><span style="font-size: 9pt; color: black"></Meeting></span></p>   <p class="MsoNormal"><strong style="mso-bidi-font-weight: normal"><span lang="EN-US">rdf:Alt</span></strong><strong style="mso-bidi-font-weight: normal"><span style="font-family: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">cdQ?/span></strong><span style="font-family: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">表示一pd供选择的序列。如Q?/span></p>   <p><span style="font-size: 11pt; color: black"><?xml version="1.0"?></span></p> <p><span style="font-size: 11pt; color: black"><Retailer rdf:ID="BarnesAndNoble"       </span></p> <p style="text-indent: 88pt"><span style="font-size: 11pt; color: black">xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"</span></p> <p><span style="font-size: 11pt; color: black">                xmlns="http://www.retailers.org#"></span></p> <p><span style="font-size: 11pt; color: black">     <webLocation></span></p> <p><span style="font-size: 11pt; color: black">          <strong><rdf:Alt></strong></span></p> <p><span style="font-size: 11pt; color: black">               <strong><</strong>url<strong>></strong>http://www.bn.com<strong></</strong>url<strong>></strong></span></p> <p><span style="font-size: 11pt; color: black">               url<strong>></strong>http://www.barnesandnoble.com<strong></</strong>url<strong>></strong></span></p> <p><span style="font-size: 11pt; color: black">          <strong></rdf:Alt></strong></span></p> <p><span style="font-size: 11pt; color: black">     </webLocation></span></p> <p><span style="font-size: 11pt; color: black"></Retailer></span></p>   <p><strong>rdf:Seq</strong><strong><span style="font-family: 宋体">cdQ?/span></strong><span style="font-family: 宋体">用作表示序的属性。如Q?/span></p>   <p><?xml version="1.0"?></p> <p><ToDoList rdf:ID="MondayMeetings"</p> <p>                   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"</p> <p>                   xmlns="http://www.reminders.org#"></p> <p>     <activities></p> <p>          <strong><rdf:Seq></strong></p> <p>               <strong><</strong>activity1<strong>></strong>Meet with CEO at 10am<strong></</strong>activity1<strong>></strong></p> <p>               <strong><</strong>activity2<strong>></strong>Luncheon at The Eatery<strong></</strong>activity2<strong>></strong></p> <p>               <strong><</strong>activity3<strong>></strong>Flight at 3pm<strong></</strong>activity3<strong>></strong></p> <p>          <strong></rdf:Seq></strong></p> <p>     </activities></p> <p></ToDoList></p> <img src ="http://www.aygfsteel.com/matthew2006/aggbug/175331.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/matthew2006/" target="_blank">matthew</a> 2008-01-14 23:27 <a href="http://www.aygfsteel.com/matthew2006/archive/2008/01/14/175331.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>reading paperpd2http://www.aygfsteel.com/matthew2006/archive/2008/01/14/175105.htmlmatthewmatthewMon, 14 Jan 2008 03:20:00 GMThttp://www.aygfsteel.com/matthew2006/archive/2008/01/14/175105.htmlhttp://www.aygfsteel.com/matthew2006/comments/175105.htmlhttp://www.aygfsteel.com/matthew2006/archive/2008/01/14/175105.html#Feedback0http://www.aygfsteel.com/matthew2006/comments/commentRss/175105.htmlhttp://www.aygfsteel.com/matthew2006/services/trackbacks/175105.htmlOWL-S是一U用来描q?/span>Web服务属性和功能?/span>OWL本体规范Q它使用一pd基本的类和属性来描述服务Q提供了一个可׃n的框架。在OWL-S中,描述服务的基本信息有三类本体Q?/span>ServiceProfile?/span>ServiceModel?/span>ServiceGrounding?/span>

ServiceProfileQ类g服务的黄,描述了服务查询代理用来判断服务是否满_要求的一l属性信息,如服务提供的功能、输入输出、执行的前提条g、执行的后果{?/span>

ServiceModelQ描qC服务的过E模型(使用服务时所涉及的控制流和数据流Q。它描述了服务是如何工作的,?/span>ServiceGrounding配合用于服务的自动组合和执行?/span>

ServiceGroundingQ将q程模型的描q和WSDL中东通讯协议及消息联pv来。描qC如何讉K一个服务?/span>

具体来说Q?/span>OWL-SZPDDLQ一U用于描q规划领域问题的规范语言Q,?/span>Web服务看成?/span>AI中的动作或行为,用参数、前提和l果{来描述一个服务,同时输入和输Z作ؓ知识型的前提和结果。在服务l合规划Ӟ需要将q些表示~译成合适的动作形式化描qͼ例如状态演。)然而,对于服务l合的支持,OWL-S仍有不。如Q?/span>OWL语言Z描述逻辑Q在表达一般规则方面有局限性,不能很好地表C用L偏好和约束?/span>

                                    ----Z语义Web的服务自动组合技术的研究

 

Resource Description FrameworkQ资源描q框Ӟ?/span>W3C?/span>XML的基上推荐的一U标准,用于表示M的资源信息?/span>RDF提出了一个简单的模型用来表示Lcd的数据。这个数据类型由节点和节点之间带有标记的q接弧所l成。节点用来表C?/span>Web上的资源Q弧用来表示q些资源的属性。因此,q个数据模型可以方便的描q对象(或者资源)以及它们之间关系?/span>RDF的数据模型实质上是一U二元关pȝ表达Q由于Q何复杂的关系都可以分解ؓ多个单的二元关系Q因?/span>RDF的数据模型可以作为其他Q何复杂关pL型的基础模型?/span>W3C推荐?/span>RDF标准来解?/span>XML的语义局限?/span>

?/span>XML中的标记Q?/span>tagsQ类|RDF中的属性(propertiesQ集也是没有M限制的。也是说存在同义词现象和一词多意现象?/span>RDF的模型不具备解决q两个问题的能力Q?/span>RDF Schema虽然可以?/span>RDF资源的的属性和cd提供词汇表,但是ZRDF的数据语义描qC然可能存在语义冲H。ؓ了消解语义冲H,我们在描q数据语义的时候可以通过引用Ontology的相x术,对语义描q结果作q一步的U束。幸q的是,RDF(Schema)在提供了单的机器可理解语义模型的同时Qؓ领域化的Ontology语言Q?/span>OILQ?/span>OWLQ提供了建模基础Qƈ使得ZRDF的应用可以方便地与这?/span>Ontology语言所生成?/span>Ontologyq行合ƈ?/span>RDF的这一Ҏ得基?/span>RDF的语义描q结果具备了可以和更多的领域知识q行交互的能力,也ZXML?/span>RDF?/span>Web数据描述具备了良好的生命力?/span>

 

OWL全称Web Ontology LanguageQ是W3C推荐的语义互联网中本体描q语a的标准。它是从Ƨ美一些研I机构的一U结合性的描述语言DAML+OIL发展h的,其中DAML来自国的提?/span>DAML-ONTQ?/span>OIL来自Ƨ洲的一U本体描q语a?/span>

针对不同的需?/span>OWL有三个子语言Q描q列表如下:

子语a

描述

例子

OWL Lite

用于提供l那些只需要一个分cdơ和单的属性约束的用户?/span>

支持基数Q?/span>cardinalityQ,只允许基Cؓ0?/span>1?/span>

OWL DL

支持那些需要在推理pȝ上进行最大程度表辄用户Q这里的推理pȝ能够保证计算完全性(computational completenessQ即所有地l论都能够保证被计算出来Q和可决定性(decidabilityQ即所有的计算都在有限的时间内完成Q。它包括?/span>OWL语言的所有约束,但是可以被仅仅置于特定的U束下?/span>

当一个类可以是多个类的一个子cLQ它被约束不能是另外一个类的实例?/span>

OWL Full

支持那些需要在没有计算保证的语法自qRDF上进行最大程度表辄用户。它允许在一?/span>Ontology在预定义的(RDF?/span>OWLQ词汇表上增加词汇,从而Q何推理Y件均不能支持OWL FULL的所?/span>feature?/span>

一个类可以被同时表达ؓ许多个体的一个集合以及这个集合中的一个个体?/span>

 



matthew 2008-01-14 11:20 发表评论
]]>
reading paperpd1http://www.aygfsteel.com/matthew2006/archive/2008/01/12/174815.htmlmatthewmatthewSat, 12 Jan 2008 07:38:00 GMThttp://www.aygfsteel.com/matthew2006/archive/2008/01/12/174815.htmlhttp://www.aygfsteel.com/matthew2006/comments/174815.htmlhttp://www.aygfsteel.com/matthew2006/archive/2008/01/12/174815.html#Feedback0http://www.aygfsteel.com/matthew2006/comments/commentRss/174815.htmlhttp://www.aygfsteel.com/matthew2006/services/trackbacks/174815.htmlGruber关于ontology的定义:一?/span>ontology是共享概念化的Ş式化、显式的定义?/span>

“概念?#8221;是指通过定相关的概念,对生zM某些现象的抽象化建模Q?#8220;昑ּ”是明定义用的概念cd以及对它们的使用U束Q?#8220;形式?#8221;指定义的ontology应该是机器可ȝ事实Q而不是自然语aQ?#8220;׃n”说明了一?/span>ontology不是个hU有的,而是在一定范围内被h们普遍接受?/span>                             

 ----Z语义Web的服务自动组合技术的研究

描述逻辑(Description Logic)Q是一U功能强大的Z逻辑的知识表达语aQ可以看成是一U结构化的一阉辑Q主要用于徏模对象和cȝ丰富层次l构?/span>

Gruber提出?/span>5条规则:

1 明确性和客观性:ontology应该用自然语aҎ定义的术语给出明的、客观的语义定义?/span>

2 完全性:所l定定义是完整的Q完全能表达所描述术语的含义?/span>

3 一致性:由术语所得的推论与术语本w的含义是相容的Q不会生矛盾?/span>

4 最大单调可扩展性:?/span>ontology中添加通用或专用的术语Ӟ不需要修改其已有的内宏V?/span>

5 最承诺:对待建模对象l出可能少的约束?/span>

                                                ----Ontology研究lD

Web服务l合所采用的具体方法和技术依赖于Web服务描述所采用的方法和方式。从服务l合的角度来_服务描述的主要工作在于选择合适的Web服务描述语言?/span>Web服务模型Q有效地?/span>Web服务l合提供必要的信息?/span>

Web服务的输入、输出参数的cd信息?/span>Web服务l合Ҏ中有着重要的地位。但仅仅依赖它似乎不能给Z个正的Web服务l合。通过?/span>Web服务功能的结构化描述Q即Web服务的前提条件及执行l果Q,我们能够保证获得的组合服务是能够满查询的要求的。对服务功能q行l构化描q的需求也是导致本体和规则的整合问题成为当前语?/span>Web中的研究热点的一个原因?/span>

MQ语?/span>Web服务l合的自动化M开自动推理Q而各U各L形式化系l都有其自n在计复杂度和表达能力之间的权衡和考量。如何选择和设计一个适合语义Web服务l合的Ş式系l,是语aWeb服务l合的自动化中最核心、最基本的问题?/span>

语义Web服务l合的粒度可参照语义Web服务描述分ؓ三个层次。第一层次是在Web服务输入、输出参数的cd上进行服务组合,该层ơ中的推理对象只涉及?/span>OWL中的c,语义Web刚好能够满它对推理能力的要求。第二层ơ上?/span>Web服务执行的前提条件和l构上进行服务组合,该层ơ通常要借助?/span>OWL之外的推理机Ӟ比如演绎规则pȝQ但?/span>OWL和演l规则系l的l合常常D服务l合法不可判定。第三个层次是在Web服务外包行ؓ上进行服务组合,它所采用的方法或是借鉴或是直接取自服务验证领域的工作,但通常我们q不会单独地在这个层ơ上q行服务l合Q而是把它当作前面的两个层ơ上的服务组合方法的有效补充?/span>

                                        ----语义Web服务的自动组合方法:研究lD

Web服务l合Ҏ的研I工作主要来自两个领域:一个是人工领域Q另一个是形式化方法和自动推理领域。h工智能领域的研究人员从h工智能规划(AI PlanningQ的角度提出一pd的面?/span>Web服务功能?/span>Web服务l合Q规划)Ҏ。来自Ş式化Ҏ和自动推理领域的工作除了面向Web服务行ؓ的服务组合(验证Q方法,也不乏借鉴自动化程序综合和模型验的Ҏ?/span>

人工规划l合Ҏ的不I

1 无法产生能够?/span>Web服务的非定性和q发性相适应的组合服务?/span>

2 Web服务的行为特性和l典规划中的动作的行为特征是非常不一LQ这使得规划法难以?/span>Web服务l合中得到应用?/span>

ZWeb服务行ؓ的组合方法:

能克服基于h工智能规划方法的上述不Q但无法满用户的需求?/span>Web服务的行为通常借助于自动机或进E代数进行表q。改q方法:把消息的参数cd与领域本体中的概念联pv来,q在服务l合时加以考虑Q那么就能保证生的l合服务不仅能在行ؓ上满用户需求,而且在功能上也能够满用户需求?/span>

Web服务l合?/span>Web服务匚w的联pL非常密切的,如果把服务组合当作一个状态收索过E的话,那么服务匚wq当于q个收烦q程之中{选合适的后状态的步骤?/span>

                                        ----ZOntology?/span>Web服务l合Ҏ



matthew 2008-01-12 15:38 发表评论
]]>
just writing 2:Dao people's PanWang Festivalhttp://www.aygfsteel.com/matthew2006/archive/2008/01/11/174736.htmlmatthewmatthewFri, 11 Jan 2008 15:47:00 GMThttp://www.aygfsteel.com/matthew2006/archive/2008/01/11/174736.htmlhttp://www.aygfsteel.com/matthew2006/comments/174736.htmlhttp://www.aygfsteel.com/matthew2006/archive/2008/01/11/174736.html#Feedback0http://www.aygfsteel.com/matthew2006/comments/commentRss/174736.htmlhttp://www.aygfsteel.com/matthew2006/services/trackbacks/174736.htmlXiShuangBanNa has a lot of ethnic minorities:  Thai,Dao,Zang and so on. Every group has its unique style of custom and beautiful costums. The PanWang Festival is an important day of  the Dao. The date of the PanWang Festival is December 25th in every year and continues for several days.

I got a chance to take part in this festival last friday. It is a big party for the Dao  and other ethnics. The small towns was crammed with people and ererybody was dressed up in their best. The main street in this towns is the important place to display their best products, for example, food, dress,handicraft,etc. It is also a good place for young people to go on a date.

The more excited place is the main fairground, which is the playground of the local elementary school. In this place, lots of Dao and Thai young people dance  to their unique  ethnic music. The scene is so beautiful that I forgot where I was.



---pȝ手之作,Ƣ迎点评?

matthew 2008-01-11 23:47 发表评论
]]>
just writing 1:The Climate Of KunMing http://www.aygfsteel.com/matthew2006/archive/2008/01/09/174117.htmlmatthewmatthewWed, 09 Jan 2008 13:39:00 GMThttp://www.aygfsteel.com/matthew2006/archive/2008/01/09/174117.htmlhttp://www.aygfsteel.com/matthew2006/comments/174117.htmlhttp://www.aygfsteel.com/matthew2006/archive/2008/01/09/174117.html#Feedback0http://www.aygfsteel.com/matthew2006/comments/commentRss/174117.htmlhttp://www.aygfsteel.com/matthew2006/services/trackbacks/174117.htmlThe Climate Of KunMing

The KunMing is a capital of YunNan province, and have a well known name :Spring city. Just as its nickname, the climate of KunMing is very good. There is not summer or winter, only spring day. The lowest temperature in KunMing may be 3 Celsius degree and the maximum temperature  may be 25 Celsius degree. The temperature is so moderate in most of time that there are not air-conditioner and fan in KunMing people’s home. The sky is blue, the temerature is moderate and the pace of life isn’t quick as other city, all of these are suitable for people to live in KunMing. So, there are little local people want to leaving KunMing for a job.

However, There are some aspectes should be noted for people come from other city. First of all, the plateau effect in KunMing is rather obvious for newcome people. Some newcomer may feel shortness of breath while do some light exercise. Secondly, if you want to go out for shopping or other things, you should take a umbrella with you. Because the ultraviolet radiation in KunMing is so intense that the local girl’s skin is not good. The most importantly, the climate of KunMing is very dry in witer. You should drink much water as you can, and keep the lipstick with you.

Generaly speaking, the KunMing is a best city for human live



---pȝ手之作,Ƣ迎U错?

matthew 2008-01-09 21:39 发表评论
]]>
不可不读的绝对英文经?/title><link>http://www.aygfsteel.com/matthew2006/archive/2007/12/28/171084.html</link><dc:creator>matthew</dc:creator><author>matthew</author><pubDate>Fri, 28 Dec 2007 02:07:00 GMT</pubDate><guid>http://www.aygfsteel.com/matthew2006/archive/2007/12/28/171084.html</guid><wfw:comment>http://www.aygfsteel.com/matthew2006/comments/171084.html</wfw:comment><comments>http://www.aygfsteel.com/matthew2006/archive/2007/12/28/171084.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/matthew2006/comments/commentRss/171084.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/matthew2006/services/trackbacks/171084.html</trackback:ping><description><![CDATA[<table class="content_table" align="center" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td class="content_main" valign="top">     Money is not everything. There's Mastercard & Visa. <br /> 钞票不是万能?有时q需要信用卡. <br /> <br /> One should love animals. They are so tasty. <br />    每个人都应该热爱动物,因ؓ它们很好? <br /> <br /> Love the neighbor. But don't get caught. <br /> 要用心去׃的邻?不过不要让她的老公知道. <br /> <br /> Behind every successful man, there is a woman. And behind every unsuccessful man, there are two. <br /> 每个成功男h的背后都有一个女人,每个不成功男人的背后都有两个女h?br /> <br /> Every man should marry. After all, happiness is not the only thing in life. <br /> 再快乐的单n汉迟早也会结?q福不是怹的嘛. <br /> <br /> The wise never marry, and when they marry they become otherwise. <br /> 聪明人都是未婚的,l婚的h很难再聪明v? <br /> <br /> Success is a relative term. It brings so many relatives. <br /> 成功是一个相兛_?他会l你带来很多不相关的亲戚Q联p). <br /> <br /> Never put off the work till tomorrow what you can put off today. <br /> 不要{明天交不上差再扑ր口, 今天p扑֥. <br /> <br /> Love is photogenic. It needs darkness to develop. <br /> 爱情p照片,需要大量的暗房旉来培? <br /> <br /> Children in backseats cause accidents. Accidents in backseats cause children. <br /> 后排座位上的孩会生出意? 后排座位上的意外会生出小? <br /> <br /> "Your future depends on your dreams."  So go to sleep. <br /> "现在的梦惛_定着你的来",所以还是再睡一会吧. <br /> <br /> There should be a better way to start a day than waking up every morning. <br /> 应该有更好的方式开始新一?而不是千一律的在每个上午都醒来. <br /> <br /> "Hard work never kills anybody." But why take the risk? " <br /> 努力工作不会DM!"不过我不会用自己去证? <br /> <br /> "Work fascinates me." I can look at it for hours! " <br /> 工作好有意思?"其是看着别h工作. <br /> <br /> God made relatives; Thank God we can choose our friends. <br /> 决定了谁是你的亲戚,q运的是在选择朋友斚w他给了你留了余地?br /> <br /> When two‘s company, three's the result! <br /> 两个人的状态是不稳定的,三个人才? <br /> <br /> A dress is like a barbed fence. It protects the premises without restricting the view. <br /> 服饰p铁丝|?它阻止你冒然行动Q但q不妨碍你尽情地观看. <br /> <br /> The more you learn, the more you know, The more you know, the more you forget. The more you forget, the less you know. So why bother to learn. <br /> 学的多,知道的越? 知道的越多;忘记的越? 忘记的越多;知道的越? Z么学来着?! </td> </tr> <tr> <td class="content_pageindex" align="right"> <br /> </td> </tr> </tbody> </table> <img src ="http://www.aygfsteel.com/matthew2006/aggbug/171084.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/matthew2006/" target="_blank">matthew</a> 2007-12-28 10:07 <a href="http://www.aygfsteel.com/matthew2006/archive/2007/12/28/171084.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> վ֩ģ壺 <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ຣʡ</a>| <a href="http://" target="_blank">°Ͷ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ų</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">¦</a>| <a href="http://" target="_blank">ƽ</a>| <a href="http://" target="_blank">׸</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ˮ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ˮ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ͬ</a>| <a href="http://" target="_blank">ɽ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">³</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ƽ</a>| <a href="http://" target="_blank">봨</a>| <a href="http://" target="_blank">ϸ</a>| <a href="http://" target="_blank">ɫ</a>| <a href="http://" target="_blank">Ϣ</a>| <a href="http://" target="_blank">ͭ</a>| <a href="http://" target="_blank">̫</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ƽ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ͨ</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>