不知為什麼JSP里寫SQL statement都是錯誤。
後來發現sqlite-jdbc-3.8.11.2的Jar是放在lib的文件夾里才行。
表頭的import是這樣
<%@ page import="java.sql.*" %>
不知為什麼JSP里寫SQL statement都是錯誤。
後來發現sqlite-jdbc-3.8.11.2的Jar是放在lib的文件夾里才行。
表頭的import是這樣
<%@ page import="java.sql.*" %>
I has been tried a lot of JSP functions.
These functions include 提交表單, JavaBean, JavaBean和表單, JavaBean和註冊驗證 , Cookie, Session, Session Login, Session IsNew and Insert SQL.
The most difficult things are data validation and the development concepts of model 2 and MVC. The three JSP frameworks are also difficult for me so I choose model 1 as my first choose to develop online system.
Then, I will learn SWT, which is SWT UI, and data mining, which is based on java and httpclient.
show.jsp
error.jsp
index.html
show.jsp
1. http://localhost:8080/ (文件夾的名字)
2. 在XAMPP的htdocs里新增 (文件夾的名字)
3. eclipse的Web開發、把路徑設置在第2步里
4. 引入connecter類
5. OK
1. XAMPP (250MB), jdk 8.0, eclipse ee and mysql-connector-java-5.1.35 should be installed.
2. 設置jdk的Path
3. 在eclipse里設置jdk的Path和Tomcat的Path
4. OK.
Java在程序員中是支柱。
因為Java能應付很多客戶的需求。
而在計算機科學方面、
我會在請算機圖像處理和互動設計那分類說明。