資源簡介
代碼片段和文件信息
package?cn.itcast.chapter04.servlet;
import?java.io.*;
import?java.util.Properties;
import?javax.servlet.*;
import?javax.servlet.http.*;
public?class?TestServlet06?extends?HttpServlet?{
public?void?doGet(HttpServletRequest?request?HttpServletResponse?response)
throws?ServletException?IOException?{
PrintWriter?out?=?response.getWriter();
?????????ServletContext?context?=?this.getServletContext();
String?path?=?context.getRealPath(“/WEB-INF/classes/itcast.properties“);
FileInputStream?in?=?new?FileInputStream(path);
Properties?pros?=?new?Properties();
pros.load(in);
out.println(“Company=“?+?pros.getProperty(“Company“)?+?“
“);
out.println(“Address=“?+?pros.getProperty(“Address“)?+?“
“);
}
public?void?doPost(HttpServletRequest?request?HttpServletR
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????182??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\1-15book.dtd
?????文件????????280??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\1-16book.xm
?????文件????????262??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\1-18book.xm
?????文件????????195??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\1-19book.xm
?????文件????????353??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\1-20book.xm
?????文件????????252??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\1-22xm
?????文件????????243??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\1-3book.xm
?????文件????????249??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\1-4book.xm
?????文件????????246??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\1-6book.xm
?????文件????????281??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\1-8book.xm
?????文件????????426??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\1-9book.xm
?????文件????????136??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\book.dtd
?????文件????????228??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\book.xm
?????文件????????288??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\city.xm
?????文件????????285??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\enum.xm
?????文件????????528??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\id.xm
?????文件????????605??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\iderf.xm
?????文件?????????90??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\java.xm
?????文件???????1132??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\library.xm
?????文件????????323??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\notation.xm
?????文件????????147??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\Simple.xsd
?????文件????????541??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter01\xm
?????文件?????????97??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter02\dynamic.html
?????文件?????????42??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter02\dynamic.jsp
?????文件????????251??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter03\GET.html
?????文件????????252??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter03\POST.html
?????文件????????903??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter04\4-10TestServlet06.java
?????文件????????464??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter04\4-2HelloWorldServlet.java
?????文件????????224??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter04\form.html
?????文件????????435??2014-11-27?16:09??javaweb程序開發入門_源代碼\chapter04\HelloWorldServlet.java
............此處省略111個文件信息
評論
共有 條評論