2013年5月16日
1.和業(yè)務(wù)部門 、客戶溝通(溝通是整個(gè)需求設(shè)計(jì)到開(kāi)發(fā)使用為止);
2.學(xué)習(xí)業(yè)務(wù);
3.有意識(shí)聽(tīng)速求(客戶最急需的),也就是優(yōu)先級(jí)問(wèn)題;
4.搜集需求,整合,提煉,完成分析;(考慮周全找關(guān)聯(lián) 找核心)
5.編寫需求產(chǎn)品文檔(文字和圖列、流程圖等相結(jié)合)
6.掌握相關(guān)工具;(比如visio/axure)
7.文檔系統(tǒng)講解(講解對(duì)象:開(kāi)發(fā)和測(cè)試)
8.驗(yàn)證開(kāi)發(fā)完后的產(chǎn)品(驗(yàn)證結(jié)束后再測(cè)試);
9.用戶培訓(xùn)(需求工程師主持);
10.了解相關(guān)系統(tǒng)(了解整個(gè)業(yè)務(wù)面 而不是 內(nèi)部的功能點(diǎn));
注意:數(shù)據(jù)表設(shè)計(jì)中盡量存可分析的信息代碼;
- struts1和struts2的區(qū)別
- hibernate和ibatis的區(qū)別
- json和xml的區(qū)別
- ajax的原理
- ajax和iframe嵌套有什么區(qū)別
- gbk utf8 iso-8859-1都是多少字節(jié)
- extjs和jquery的區(qū)別
- js從前端如何解決跨域問(wèn)題
- 單例模式的優(yōu)點(diǎn),工廠模式的原理
- spring的mvc模式
- jdk1.7新功能
- 為什么會(huì)出現(xiàn)亂碼
http://www.iteye.com/problems/74892List<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();
public FDataReport addFDataReport(FDataReport datareport);//數(shù)據(jù)新錄入返回對(duì)象,對(duì)應(yīng)的就會(huì)把ID也返回
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>
昨天做用戶注冊(cè),添加用戶時(shí)候總是提交兩次
最后才找到原因 提交表單的按鈕就是設(shè)置成button的了 但是名稱是submitButton也不可以 所以修改下按鈕名稱就可以了!!!
⊙﹏⊙b汗
1.當(dāng)用戶操作用戶中心的信息,編碼獲取用戶對(duì)象應(yīng)該是通過(guò)該用戶登錄保存的session或者cookie獲得,
而不是通過(guò)用戶ID獲得(否則當(dāng)有人知道通過(guò)ID傳值,容易輕易修改掉其他用戶的信息)
2.前臺(tái)下載也需要通過(guò)后臺(tái)處理 放置業(yè)內(nèi)人士知道下載文件真實(shí)地址,獲得大量數(shù)據(jù)信息
《轉(zhuǎn)自
http://blog.sina.com.cn/s/blog_5f66526e0100kf6b.html》
主要步驟:
第一步:導(dǎo)入需要的js文件(根據(jù)實(shí)際情況修改相應(yīng)路徑)
<script src="js/jquery.js" type=text/javascript></script>
<script src="fckeditor/fckeditor.js" type="text/javascript"></script>
第二步:初始化(根據(jù)實(shí)際情況修改相應(yīng)路徑)
sBasePath = '/duotunkf/fckeditor/' ;#編輯器所在文件夾;
oFCKeditor = new FCKeditor('content') ;
oFCKeditor.BasePath = sBasePath ;
oFCKeditor.Value = 'test' ;
oFCKeditor.ToolbarSet = 'Basic' ;
oFCKeditor.Create() ;
其中content為頁(yè)面你所綁定的textArea的id或name
第三步:取值
var oEditor = FCKeditorAPI.GetInstance('content');
editorValue = oEditor.GetHTML();
第四步:賦值(更新的時(shí)候先把原有的值賦給textarea)
var oEditor = FCKeditorAPI.GetInstance('content');
oEditor.SetHTML("value");
下面是本人寫的一個(gè)賦值測(cè)試程序,供大家參考。源碼如下:
<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.點(diǎn)擊這里改變編輯器的值</option>
<option value="2">ii.點(diǎn)擊這里改變編輯器的值</option>
<option value="3">iii.點(diǎn)擊這里改變編輯器的值</option>
</select>
</label>
</form>
</body>
</html>
提交了,剛才修正了一些問(wèn)題;一主鍵需要設(shè)置number類型同時(shí)告訴擴(kuò)充到10
管華(管華) 10:44:15
你剛才是int類型,,int最大是到6萬(wàn)多吧,,如果你設(shè)置這個(gè),意味著到時(shí)你到6萬(wàn)多的會(huì)員后,系統(tǒng)出問(wèn)題,插入不進(jìn)去了,到時(shí)你還得改;
管華(管華) 10:45:46
第二,你用的是字符VARCHAR2類型,這個(gè);類型在oracle里不太好,會(huì)持久化占用一部分空間,比如你設(shè)置的VARCHAR2(1000),他不管你里面有沒(méi)有數(shù)據(jù),都會(huì)占用這1000個(gè)字符的空間;因此需要改為NVARCHAR2 ,他是自適應(yīng),當(dāng)你沒(méi)存儲(chǔ)值,他不占據(jù)空間
另外根據(jù)有些字段,比如人名 name NVARCHAR2(20)分配20個(gè)字符就可了,分配500個(gè),會(huì)浪費(fèi)多余的空間同時(shí)使得系統(tǒng)慢碎片多;因此根據(jù)實(shí)際情況,酌情分配
update tc_report t set xlsfile='ChinaLivestock'||chr(38)||'FeedWeeklyMarketReport20130703.doc' where t.xlsfile like 'China Livestock & Feed Weekly Market Report 20130703%'
將tomcat下的bin\startup.bat下的文件打開(kāi)后,最下面有一句話 call "%EXECUTABLE%" jpda start %CMD_LINE_ARGS%,,復(fù)制我這個(gè)替換你那個(gè),保存后,即可實(shí)現(xiàn)不重啟就編譯java