資源簡介
Tomcat 7.0 Green綠色版是一個純綠色、免安裝的Tomcat服務(wù)器。
Tomcat 服務(wù)器是一個免費的開放源代碼的Web 應(yīng)用服務(wù)器。
Tomcat是Apache 軟件基金會(Apache Software Foundation)的Jakarta 項目中的一個核心項目,由Apache、Sun 和其他一些公司及個人共同開發(fā)而成。由于有了Sun 的參與和支持,最新的Servlet 和JSP 規(guī)范總是能在Tomcat 中得到體現(xiàn),Tomcat 7 支持最新的Servlet和JSP規(guī)范。因為Tomcat 技術(shù)先進(jìn)、性能穩(wěn)定,而且免費,因而深受Java 愛好者的喜愛并得到了部分軟件開
代碼片段和文件信息
/*
?*?Licensed?to?the?Apache?Software?Foundation?(ASF)?under?one?or?more
?*?contributor?license?agreements.??See?the?NOTICE?file?distributed?with
?*?this?work?for?additional?information?regarding?copyright?ownership.
?*?The?ASF?licenses?this?file?to?You?under?the?Apache?License?Version?2.0
?*?(the?“License“);?you?may?not?use?this?file?except?in?compliance?with
?*?the?License.??You?may?obtain?a?copy?of?the?License?at
?*?
?*??????http://www.apache.org/licenses/LICENSE-2.0
?*?
?*?Unless?required?by?applicable?law?or?agreed?to?in?writing?software
?*?distributed?under?the?License?is?distributed?on?an?“AS?IS“?BASIS
?*?WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND?either?express?or?implied.
?*?See?the?License?for?the?specific?language?governing?permissions?and
?*?limitations?under?the?License.
?*/
package?mypackage;
import?java.io.IOException;
import?java.io.PrintWriter;
import?javax.servlet.ServletException;
import?javax.servlet.http.HttpServlet;
import?javax.servlet.http.HttpServletRequest;
import?javax.servlet.http.HttpServletResponse;
/**
?*?Simple?servlet?to?validate?that?the?Hello?World?example?can
?*?execute?servlets.??In?the?web?application?deployment?descriptor
?*?this?servlet?must?be?mapped?to?correspond?to?the?link?in?the
?*?“index.html“?file.
?*
?*?@author?Craig?R.?McClanahan?
?*/
public?final?class?Hello?extends?HttpServlet?{
????/**
?????*?Respond?to?a?GET?request?for?the?content?produced?by
?????*?this?servlet.
?????*
?????*?@param?request?The?servlet?request?we?are?processing
?????*?@param?response?The?servlet?response?we?are?producing
?????*
?????*?@exception?IOException?if?an?input/output?error?occurs
?????*?@exception?ServletException?if?a?servlet?error?occurs
?????*/
????public?void?doGet(HttpServletRequest?request
??????????????????????HttpServletResponse?response)
??????throws?IOException?ServletException?{
????????response.setContentType(“text/html“);
????????PrintWriter?writer?=?response.getWriter();
????????writer.println(““);
????????writer.println(““);
????????writer.println(“tle>Sample?Application?Servlet?Page tle>“);
????????writer.println(““);
????????writer.println(““);
????????writer.println(““);
????????writer.println(““);
????????writer.println(““);
????????writer.println(“
“);
????????writer.println(“ “);
????????writer.println(““);
????????writer.println(“Sample?Application?Servlet
“);
????????writer.println(“This?is?the?output?of?a?servlet?that?is?part?of“);
????????writer.println(“the?Hello?World?application.“);
????????writer.println(“ “);
????????writer.println(“ “);
????????writer.println(“
“);
????????writer.println(““);
????????writer.println(““);
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2011-06-10?13:01??conf\
?????文件???????11963??2011-05-10?05:42??conf\catalina.policy
?????文件????????5221??2011-05-10?05:42??conf\catalina.properties
?????文件????????1428??2011-05-10?05:42??conf\context.xm
?????文件????????3213??2011-05-10?05:42??conf\logging.properties
?????文件????????6645??2011-05-30?15:08??conf\server.xm
?????文件????????1626??2011-06-13?09:46??conf\tomcat-users.xm
?????文件??????153508??2011-05-10?05:42??conf\web.xm
?????目錄???????????0??2011-06-10?13:01??conf\Catalina\
?????目錄???????????0??2011-06-10?13:01??conf\Catalina\localhost\
?????目錄???????????0??2011-05-30?15:56??jre\
?????目錄???????????0??2011-05-30?15:56??jre\bin\
?????文件?????1208320??2011-05-30?11:29??jre\bin\awt.dll
?????文件??????114688??2011-05-30?11:29??jre\bin\axbridge.dll
?????目錄???????????0??2011-05-30?15:56??jre\bin\client\
?????文件????13172736??2011-05-30?11:29??jre\bin\client\classes.jsa
?????文件?????2572288??2011-05-30?11:29??jre\bin\client\jvm.dll
?????文件????????1447??2011-05-30?11:29??jre\bin\client\Xusage.txt
?????文件??????192512??2011-05-30?11:29??jre\bin\cmm.dll
?????文件??????143360??2011-05-30?11:29??jre\bin\dcpr.dll
?????文件???????77824??2011-05-30?11:29??jre\bin\deploy.dll
?????文件??????411368??2011-05-30?11:29??jre\bin\deploytk.dll
?????文件???????16896??2011-05-30?11:29??jre\bin\dt_shmem.dll
?????文件???????13312??2011-05-30?11:29??jre\bin\dt_socket.dll
?????文件???????69632??2011-05-30?11:29??jre\bin\eula.dll
?????文件??????339968??2011-05-30?11:29??jre\bin\fontmanager.dll
?????文件???????15872??2011-05-30?11:29??jre\bin\hpi.dll
?????文件??????139264??2011-05-30?11:29??jre\bin\hprof.dll
?????文件???????98304??2011-05-30?11:29??jre\bin\instrument.dll
?????文件???????12800??2011-05-30?11:29??jre\bin\ioser12.dll
?????文件????????7680??2011-05-30?11:29??jre\bin\j2pcsc.dll
............此處省略1313個文件信息
評論
共有 條評論