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

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

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

    當幸福來敲門

    我就會牢牢抓住!
    隨筆 - 50, 文章 - 3, 評論 - 8, 引用 - 0
    數據加載中……

    2013年7月31日

    需求工程師的工作內容

    1.和業務部門 、客戶溝通(溝通是整個需求設計到開發使用為止);
    2.學習業務;
    3.有意識聽速求(客戶最急需的),也就是優先級問題;
    4.搜集需求,整合,提煉,完成分析;(考慮周全找關聯 找核心)
    5.編寫需求產品文檔(文字和圖列、流程圖等相結合)
    6.掌握相關工具;(比如visio/axure)
    7.文檔系統講解(講解對象:開發和測試)
    8.驗證開發完后的產品(驗證結束后再測試);
    9.用戶培訓(需求工程師主持);
    10.了解相關系統(了解整個業務面 而不是 內部的功能點);

    注意:數據表設計中盡量存可分析的信息代碼;

    posted @ 2014-03-05 15:23 wyx 閱讀(207) | 評論 (0)編輯 收藏

    面試題積累

    1. struts1和struts2的區別
    2. hibernate和ibatis的區別
    3. json和xml的區別
    4. ajax的原理
    5. ajax和iframe嵌套有什么區別
    6. gbk utf8 iso-8859-1都是多少字節
    7. extjs和jquery的區別
    8. js從前端如何解決跨域問題
    9. 單例模式的優點,工廠模式的原理
    10. spring的mvc模式
    11. jdk1.7新功能
    12. 為什么會出現亂碼

    posted @ 2014-03-04 15:35 wyx 閱讀(234) | 評論 (0)編輯 收藏

    Hibernate 查詢有關in的查詢

    http://www.iteye.com/problems/74892

    List<Integer> ids = new ArrayList<Integer>();
    ids.add(3);
    ids.add(4);
    ids.add(5);
    Query query=session.createQuery(from document where id in (:ids)); 
    query.setParameterList("ids", ids);
    query.list();

    posted @ 2013-11-18 17:42 wyx 閱讀(633) | 評論 (0)編輯 收藏

    用hibernate插入數據保證插入數據ID同步 ,插入之后返回對象

    public FDataReport addFDataReport(FDataReport datareport);//數據新錄入返回對象,對應的就會把ID也返回

    posted @ 2013-11-04 17:43 wyx 閱讀(257) | 評論 (0)編輯 收藏

    關于登錄界面 記住用戶名和密碼的一段代碼

    Cookie cookies[]=request.getCookies();
        Cookie stCookie=null;
        String password=null;
        String passwordvalue=null;
        String usernamevalue=null;
        String cookiename = null;
        String nameandpassword[]=new String[3];
        if (cookies != null) {
       for (int i = 0; i < cookies.length; i++) {
        stCookie = cookies[i];
        cookiename = stCookie.getName();
        if (cookiename!=null && cookiename.equalsIgnoreCase("db_password")) {
         passwordvalue = stCookie.getValue();
         password = passwordvalue;//.substring(8, passwordvalue.length()-3);
         nameandpassword[1] = password.trim();
        }
        if (cookiename!=null && cookiename.equalsIgnoreCase("db_username")) {
         usernamevalue = stCookie.getValue();
         nameandpassword[0] = usernamevalue.trim();
        }
        }
     }





    <body>
    <p>
           <label for="LoginName">
            用戶名 / 郵箱:
           </label>
           <input class="text" type="text" id="LoginName" name="LoginName"
            value="<%=nameandpassword[0]==null?"":nameandpassword[0] %>" />
          </p>
          <p>
           <label for="Password">
            密碼:
           </label>
           <input class="text" type="password" value="<%=nameandpassword[1]==null?"":nameandpassword[1] %>" name="Password" id="Password" />
          </p>


    </body>

    posted @ 2013-11-01 15:08 wyx 閱讀(318) | 評論 (0)編輯 收藏

    form表單提交兩次原因

    昨天做用戶注冊,添加用戶時候總是提交兩次
    最后才找到原因 提交表單的按鈕就是設置成button的了 但是名稱是submitButton也不可以 所以修改下按鈕名稱就可以了!!!
    ⊙﹏⊙b汗

    posted @ 2013-10-18 09:21 wyx 閱讀(431) | 評論 (0)編輯 收藏

    關于安全問題——用戶中心

    1.當用戶操作用戶中心的信息,編碼獲取用戶對象應該是通過該用戶登錄保存的session或者cookie獲得,
    而不是通過用戶ID獲得(否則當有人知道通過ID傳值,容易輕易修改掉其他用戶的信息)

    2.前臺下載也需要通過后臺處理 放置業內人士知道下載文件真實地址,獲得大量數據信息

    posted @ 2013-09-04 17:13 wyx 閱讀(213) | 評論 (0)編輯 收藏

    FCKeditor 取值

    《轉自http://blog.sina.com.cn/s/blog_5f66526e0100kf6b.html

    主要步驟:

    第一步:導入需要的js文件(根據實際情況修改相應路徑)
    <script src="js/jquery.js" type=text/javascript></script>   
    <script src="fckeditor/fckeditor.js" type="text/javascript"></script>
    第二步:初始化(根據實際情況修改相應路徑)   

    sBasePath    = '/duotunkf/fckeditor/' ;#編輯器所在文件夾;
    oFCKeditor    = new FCKeditor('content') ;
    oFCKeditor.BasePath = sBasePath ;
    oFCKeditor.Value = 'test' ;
    oFCKeditor.ToolbarSet = 'Basic' ;
    oFCKeditor.Create() ;

    其中content為頁面你所綁定的textArea的id或name

    第三步:取值

    var oEditor = FCKeditorAPI.GetInstance('content');  
    editorValue = oEditor.GetHTML();  
    第四步:賦值(更新的時候先把原有的值賦給textarea)

    var oEditor = FCKeditorAPI.GetInstance('content');  
    oEditor.SetHTML("value"); 

     

    下面是本人寫的一個賦值測試程序,供大家參考。源碼如下:

    <html>
     <head>

         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
            <script src="js/jquery-1.3.2.min.js"></script>
            <script src="fckeditor/fckeditor.js"></script>
            <script>
            $(document).ready(function(){
              $("#test").click(function(){
        var oEditor = FCKeditorAPI.GetInstance('content');  
        oEditor.SetHTML($("#test option:selected" ).text());
        });
      });
            </script>
     </head>
     <body>
      
      <form action="" method="post">
            <script>
                sBasePath    = '/duotunkf/fckeditor/' ;#編輯器所在文件夾;
                oFCKeditor   = new FCKeditor('content') ;
                oFCKeditor.BasePath = sBasePath ;
                oFCKeditor.Value = 'test' ;
                oFCKeditor.ToolbarSet = 'Basic' ;
                oFCKeditor.Create() ;
      </script>
       <br>
                <label for="test">
          <select name="test" size="4" id="test">
            <option value="1">i.點擊這里改變編輯器的值</option>
            <option value="2">ii.點擊這里改變編輯器的值</option>
            <option value="3">iii.點擊這里改變編輯器的值</option>
               </select>
              </label>
      </form>
     </body>
    </html>


    posted @ 2013-07-31 14:19 wyx 閱讀(188) | 評論 (0)編輯 收藏

    主站蜘蛛池模板: 青青青国产在线观看免费网站| 久久午夜夜伦鲁鲁片无码免费| 免费高清av一区二区三区| 亚洲Av高清一区二区三区| h片在线免费观看| 亚洲高清资源在线观看| 51视频精品全部免费最新| 久久国产精品亚洲综合| 色欲国产麻豆一精品一AV一免费 | 中国一级毛片视频免费看| 亚洲精品偷拍视频免费观看| 人人公开免费超级碰碰碰视频| 亚洲精品成人在线| 国产又黄又爽又大的免费视频| 亚洲人成人一区二区三区| 日本视频免费高清一本18| 亚洲高清中文字幕综合网| 久久久www成人免费毛片| 亚洲妇女无套内射精| 亚洲AV之男人的天堂| 两个人看的www免费视频| 亚洲一区二区三区四区在线观看| 最近2019年免费中文字幕高清| 亚洲国产综合自在线另类| 四虎www免费人成| 一级特黄a大片免费| 亚洲自偷自拍另类12p| 免费毛片在线看片免费丝瓜视频 | 亚洲成AV人片在WWW色猫咪| 亚洲免费网站在线观看| 亚洲AV综合色区无码一二三区| 亚洲美女在线国产| 在线看无码的免费网站| 亚洲av色香蕉一区二区三区| 亚洲人AV永久一区二区三区久久| 丁香花在线视频观看免费 | 亚洲一区二区三区日本久久九| 成人免费无毒在线观看网站| 国产精品极品美女自在线观看免费 | 有码人妻在线免费看片| 亚洲综合精品香蕉久久网97|