iLMS知識社群歷程檔登入
位置: 廖俊維 > 最新文章
by 廖俊維 2013-02-19 18:43:34, 回應(0), 人氣(654)
最近結束IE時都會出現這個錯誤訊息,找了好多方法,重裝IE也試過了,都沒有用,有找到一個說法是「附加元件」的問題,但是有很多附加元件,是哪
(全文...)
by 廖俊維 2012-12-01 21:48:17, 回應(0), 人氣(523)
首先準備一個table.jsp程式,放在ApacheTomcat的網站ROOT中, 被呼叫時,傳回一串資料: <%@ page contentType="text/html;charset=utf-8" %><%out.println("<RSPN>A,一中商圈");out.println("<RSPN>B,一中商圈");out.println("<RSPN>C,一中商圈");out.println("<RSPN>D,一中商圈");out.println("<RSPN>E,一中商圈");out.println("<RSPN>F,一中商圈");out.println("<RSPN>G,一中商圈");%> 其中第1行,是確保傳到android端時的中文不會變亂碼。 接著在Android中建立一個專案,其中的主程式,假設叫Test2.java, 注意,在ListActivity的onCreate()方法中,不可以setContentView(),否則會有問題。 public class Test2 extends ListActivity {        private ArrayList<HashMap<String,String>> datas;
(全文...)
by 廖俊維 2012-11-24 09:44:05, 回應(0), 人氣(1318)
作業系統:Windows XP Web Server:Apache Tomcat 7.0 DB: Access 2003   假設有一個「會員登入」的交易, server要準備一個login.html供用戶端輸入帳號及密碼, server端處理此交易的程式是login.jsp, 帳號密碼存在一個member.mdb的Access 2003資料庫中的account資料表中, account資料表的結構,有3個欄位,一個是id,一個是password,一個是name,都是文字型別。 步驟一:準備login.html <div align="center"><form method="POST" action="login.jsp"> <table border="1" width="29%" id="table2">  <tr>   <td width="48" nowrap>帳號</td>   <td><input type="text" name="id" size="20"></td>  </tr>  <tr>   <td width="48">密碼</td>   <td><input type="password" name="pwd" size="20"></td>  </tr> </table> <input type="submit" value="送出" name="B1"><input type="reset" value="重新設定" name="B2"></form></div> 步驟二:接著設定資料庫member.mdb的ODBC 在控制台/系統管理工具/資料來源 (ODBC),其中「系統資料來源名稱」,按「新增」; 選取Microsoft access Driver (*.mdb)驅動程式,按完成。 接著為你的資料庫檔案,自訂一個名稱,在login.jsp會用到。 再按資料庫的「選取」,選取你的資料庫檔案所在的磁碟機、目錄、資料庫檔案,按「確定」, 回到「ODBC Microsoft Access設定」,再按一次「確定」。    會看到「系統資料來源」中,多了一個剛才新增的「myDB」,記住這個名稱,按「確定」。    步驟三:準備login.jsp <%@ page import = "java.sql.*" contentType="text/html;charset=big5" %><% String id = request.getParameter("id"); %><% String pwd = request.getParameter("pwd"); %>
(全文...)
by 廖俊維 2012-09-27 09:33:35, 回應(0), 人氣(482)
看到一個網站,在講有關 JAVA利用JDBC連至SQL Server 給大家參考 借分享:  http://www.code-club.idv.tw/index.php?action=index&run=article_read&ClassID=72&a
(全文...)
by 廖俊維 2012-09-24 13:49:57, 回應(0), 人氣(376)
1.安裝lejos到樂高:     C:\Program Files\leJOS NXJ\bin\nxjflashg 2.pc監控樂高 C:\Program Files\leJOS NXJ\bin\nxjcontrol.bat  
(全文...)
by 廖俊維 2011-11-15 11:49:09, 回應(0), 人氣(361)
http://www.asp.com.tw/news/knowledge/1/info_tc1.htm
(全文...)
by 廖俊維 2011-11-05 13:51:46, 回應(0), 人氣(442)
http://msdn.microsoft.com/zh-tw/library/system.net.sockets(VS.80).aspx
(全文...)
by 廖俊維 2011-10-29 09:40:18, 回應(0), 人氣(401)
檢討日本的集體亂象
(全文...)
by 廖俊維 2011-05-03 08:52:55, 回應(0), 人氣(561)
今早送小孩上學途中, 從收音機聽到這個故事, 突有所感,找到這篇故事與大家分享。   版權問題,僅以超連結代替,   http:
(全文...)
by 廖俊維 2011-03-25 15:58:43, 回應(0), 人氣(452)
同學們, 今天得知我們得到第一名的消息, 老師真的很高興, 一掃上次啦啦隊比賽的陰影, 也許這就是所謂「幻滅是成長的開始」吧! &nb
(全文...)
Prev1234Next