<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Rory's Blog
    Happy study,Happy work,Happy life
    posts - 22,  comments - 46,  trackbacks - 0

    我的評論

    哦。是么?趕緊下載一個新版試試。
    以前都沒有注意。
    今天才注意到servlet的doc里面有寫過。
    public void setCharacterEncoding(java.lang.String env)
    throws java.io.UnsupportedEncodingExceptionOverrides the name of the character encoding used in the body of this request. This method must be called prior to reading request parameters or reading input using getReader().
    Parameters:
    a - String containing the name of the chararacter encoding.
    Throws:
    java.io.UnsupportedEncodingException - if this is not a valid encoding
    re: 關于spring啟動的優化的問題 莫多 2006-08-11 20:58  
    是么。不過我好像是可以的啊。
    除了。scheduler我好都設置的lazy-init
    re: 還是亂碼問題 莫多 2006-07-25 19:45  
    oc4j沒有用過。不過是不是也有地方可以配置的啊。
    是啊。都是這個問題,不過Robbin給出了最終解決方法。呵呵。
    http://www.javaeye.com/display/opensourceframework/HibernateUtils
    可以看看。
    我都用UUID,可是沒有你說的這個問題。
    不會有問題的,還有就是你用Hiberate3那么就用uuid
    你看源代碼就知道uuid.hex其實和uuid是一樣的了。只有在hibernate2里面才有區別。
    這個就是因為Hibernate的條件查詢的時候你可以addOrder()添加很多排序的方式。如果你在addOrder之后取totalcount那樣Hibernate也會把order by語句拼接到你的select count(*)語句后面。然而有的數據庫是不支持的。eg(SqlServer)所以就會出錯了。請看我的最新文章。
    re: 用ant進行項目無憂部署 莫多 2006-04-29 11:59  
    哦是么?沒有用過。原意賜教。
    re: openfans快速配置指南 莫多 2006-04-11 17:50  
    然后按照上面說的。運行mvn -Declipse.downloadSources=true eclipse:eclipse
    又抱錯誤找不到。
    [INFO] [compiler:compile]
    [INFO] Nothing to compile - all classes are up to date
    [INFO] [eclipse:eclipse]
    [WARNING] This plugin currently doesn't support include patterns for resources.
    Adding the entire directory.
    [WARNING] This plugin currently doesn't support include patterns for resources.
    Adding the entire directory.
    Downloading: http://www.ibiblio.org/maven2/org/springframework/spring-mock/1.2.6
    /spring-mock-1.2.6-sources.jar
    [WARNING] Unable to get resource from repository central (http://www.ibiblio.org
    /maven2)
    Downloading: http://www.openfans.org:81/maven2/org/springframework/spring-mock/1
    .2.6/spring-mock-1.2.6-sources.jar
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Failed to resolve artifact.

    Error transferring file
    org.springframework:spring-mock:java-source:1.2.6

    from the specified remote repositories:
    central (http://www.ibiblio.org/maven2),
    openfans (http://www.openfans.org:81/maven2)


    Caused by I/O exception: Connection refused: connect

    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 10 seconds
    [INFO] Finished at: Tue Apr 11 17:45:56 GMT+08:00 2006
    [INFO] Final Memory: 4M/8M
    [INFO] ------------------------------------------------------------------------
    re: openfans快速配置指南 莫多 2006-04-11 17:49  
    mvn eclipse:eclipse就不能通過。
    D:\Project\openfans>mvn eclipse:eclipse
    [INFO] Scanning for projects...
    [INFO] Searching repository for plugin with prefix: 'eclipse'.
    [INFO] -------------------------------------------------------------------------
    ---
    [INFO] Building openfans
    [INFO] task-segment: [eclipse:eclipse]
    [INFO] -------------------------------------------------------------------------
    ---
    [INFO] Preparing eclipse:eclipse
    [INFO] [resources:resources]
    [INFO] Using default encoding to copy filtered resources.
    [WARNING]
    Artifact javax.servlet:jstl:jar:1.1.2:runtime retains local scope 'runti
    me' overriding broader scope 'compile'
    given by a dependency. If this is not intended, modify or remove the loc
    al scope.

    [WARNING]
    Artifact jdom:jdom:jar:1.0:runtime retains local scope 'runtime' overrid
    ing broader scope 'compile'
    given by a dependency. If this is not intended, modify or remove the loc
    al scope.

    [WARNING]
    Artifact taglibs:standard:jar:1.1.2:runtime retains local scope 'runtime
    ' overriding broader scope 'compile'
    given by a dependency. If this is not intended, modify or remove the loc
    al scope.

    [INFO] [compiler:compile]
    [INFO] Nothing to compile - all classes are up to date
    [INFO] [eclipse:eclipse]
    [WARNING] This plugin currently doesn't support include patterns for resources.
    Adding the entire directory.
    [WARNING] This plugin currently doesn't support include patterns for resources.
    Adding the entire directory.
    [INFO] Not writing settings - defaults suffice
    [INFO]
    Sources for some artifacts are not available.
    Please run "mvn -Declipse.downloadSources=true eclipse:eclipse" in order
    to check remote repositories for sources.
    List of artifacts without a source archive:
    o org.springframework:spring-mock:jar:1.2.6
    o junit:junit:jar:3.8.1
    o commons-logging:commons-logging:jar:1.0.4
    o javax.servlet:servlet-api:jar:2.4
    o commons-digester:commons-digester:jar:1.5
    o geronimo-spec:geronimo-spec-jta:jar:1.0.1B-rc4
    o uk.ltd.getahead:dwr:jar:1.0
    o org.springframework:spring:jar:1.2.6
    o opensymphony:sitemesh:jar:2.2.1
    o com.lowagie:itext:jar:0.99
    o commons-validator:commons-validator:jar:1.1.3
    o javax.servlet:jstl:jar:1.1.2
    o asm:asm:jar:1.5.3
    o commons-dbcp:commons-dbcp:jar:1.2.1
    o jdom:jdom:jar:1.0
    o taglibs:standard:jar:1.1.2
    o oro:oro:jar:2.0.8
    o antlr:antlr:jar:2.7.6rc1
    o commons-beanutils:commons-beanutils:jar:1.6.1
    o commons-io:commons-io:jar:1.1
    o org.tuckey:urlrewrite:jar:2.5.2
    o xerces:xercesImpl:jar:2.0.2
    o p6spy:p6spy:jar:1.3
    o rome:rome:jar:0.8
    o commons-fileupload:commons-fileupload:jar:1.1
    o mysql:mysql-connector-java:jar:3.1.11
    o org.hibernate:hibernate:jar:3.1
    o displaytag:displaytag:jar:1.0
    o dom4j:dom4j:jar:1.6
    o cglib:cglib:jar:2.1_3
    o ehcache:ehcache:jar:1.1
    o commons-lang:commons-lang:jar:2.0
    o commons-collections:commons-collections:jar:2.1.1
    o springmodules:springmodules-validator:jar:0.1
    o log4j:log4j:jar:1.2.11
    o xml-apis:xml-apis:jar:1.0.b2
    o commons-pool:commons-pool:jar:1.2

    [INFO] Wrote Eclipse project for "openfans" to D:\Project\openfans.
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESSFUL
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 8 seconds
    [INFO] Finished at: Tue Apr 11 17:43:11 GMT+08:00 2006
    [INFO] Final Memory: 4M/8M
    [INFO] ------------------------------------------------------------------------
    re: spring操作數據庫如此簡單 莫多 2006-04-07 10:56  
    to:劍事
    我是為了用hibernate才這樣做的啊,這樣我就不用再寫insert了啊。呵呵。
    re: spring操作數據庫如此簡單 莫多 2006-04-07 10:55  
    To:yerba
    怎么沒有作用?
    cateManager.saveCategory(cate);
    用這個保存到我的新數據庫中的啊。
    re: spring操作數據庫如此簡單 莫多 2006-04-07 09:13  
    為什么不要了? 不明白
    @anonymous
    也許很多人都認為這種是最好的方式,以前我也使這么認為的。可是現在我不這么認為。
    因為我們的webapp每天都要發布。而上傳的那個文件夾有好幾個G。這個問題就是發布的時候要去把那個目錄的東西都cut出來。然后再發布,發布完再把那個upload目錄放回去。而我們這樣做就是為了方便。把upload的files放到其地方去。這樣每天晚上12點去部署那個app就可以了。
    呵呵。我就是想實現這個的。今天我基本上實現了。用spring去注入的。
    re: spring培訓-筆記 莫多 2006-03-01 10:44  
    <bean
    id="beanId"(1)
    name="beanName"(2)
    class="beanClass"(3)
    parent="parentBean"(4)
    abstract="true | false"(5)
    singleton="true | false"(6)
    lazy-init="true | false | default"(7)
    autowire="no | byName | byType | constructor | autodetect | default"(8)
    dependency-check = "none | objects | simple | all | default"(9)
    depends-on="dependsOnBean"(10)
    init-method="method"(11)
    destroy-method="method"(12)
    factory-method="method"(13)
    factory-bean="bean">(14)
    </bean>

    (7)、lazy-init(默認為“default”):用來定義這個Bean是否實現懶初始化。如果為“true”,它將在BeanFactory啟動時初始化所有的Singleton Bean。反之,如果為“false”,它只在Bean請求時才開始創建Singleton Bean。

    是不是寫反了?

    <2025年5月>
    27282930123
    45678910
    11121314151617
    18192021222324
    25262728293031
    1234567

    常用鏈接

    留言簿(1)

    隨筆分類(27)

    隨筆檔案(22)

    Friends

    搜索

    •  

    積分與排名

    • 積分 - 62221
    • 排名 - 845

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 国产免费爽爽视频在线观看| 一级成人毛片免费观看| 最近中文字幕电影大全免费版 | 亚洲精品国精品久久99热| 亚洲欧美成人一区二区三区| 在线免费观看污网站| 亚洲中文字幕无码mv| 国产成人无码免费视频97 | 456亚洲人成在线播放网站| av无码国产在线看免费网站 | 黄+色+性+人免费| 亚洲免费福利视频| 成人毛片免费在线观看| 色欲aⅴ亚洲情无码AV蜜桃 | 亚洲av永久无码精品国产精品| 中文字幕日本人妻久久久免费| 亚洲国产精久久久久久久 | 国产美女做a免费视频软件| 一级黄色免费大片| 国产亚洲一区二区三区在线观看| 久久久久国产精品免费免费不卡| 亚洲综合在线成人一区| 热99re久久精品精品免费| 国产成人无码免费网站| 久久精品蜜芽亚洲国产AV| 成年女人毛片免费视频| 免费看黄福利app导航看一下黄色录像| 亚洲国产中文v高清在线观看| 免费看成人AA片无码视频吃奶| 亚洲熟妇色自偷自拍另类| 国产成人综合久久精品免费| 三级毛片在线免费观看| 亚洲国产日韩在线成人蜜芽| 国产99视频免费精品是看6| 国产午夜成人免费看片无遮挡| 亚洲一区动漫卡通在线播放| 免费99热在线观看| 少妇太爽了在线观看免费视频| 亚洲国产av玩弄放荡人妇| 亚洲成色WWW久久网站| 全免费a级毛片免费**视频|