资源简介
apache-tomcat-7.0.57.zip
代码片段和文件信息
/*
* 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 {
private static final long serialVersionUID = 1L;
/**
* 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
*/
@Override
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 2017-10-20 14:14 apache-tomcat-7.0.57\
目录 0 2017-10-20 14:13 apache-tomcat-7.0.57\bin\
文件 28051 2014-11-03 16:43 apache-tomcat-7.0.57\bin\bootstrap.jar
文件 2121 2014-11-03 16:45 apache-tomcat-7.0.57\bin\catalina-tasks.xm
文件 13007 2014-11-03 16:43 apache-tomcat-7.0.57\bin\catalina.bat
文件 20779 2014-11-03 16:43 apache-tomcat-7.0.57\bin\catalina.sh
文件 204944 2014-11-03 16:43 apache-tomcat-7.0.57\bin\commons-daemon-native.tar.gz
文件 24283 2014-11-03 16:43 apache-tomcat-7.0.57\bin\commons-daemon.jar
文件 2040 2014-11-03 16:43 apache-tomcat-7.0.57\bin\configtest.bat
文件 1922 2014-11-03 16:43 apache-tomcat-7.0.57\bin\configtest.sh
文件 7888 2014-11-03 16:43 apache-tomcat-7.0.57\bin\daemon.sh
文件 2091 2014-11-03 16:43 apache-tomcat-7.0.57\bin\digest.bat
文件 1965 2014-11-03 16:43 apache-tomcat-7.0.57\bin\digest.sh
文件 3430 2014-11-03 16:43 apache-tomcat-7.0.57\bin\setclasspath.bat
文件 3547 2014-11-03 16:43 apache-tomcat-7.0.57\bin\setclasspath.sh
文件 2020 2014-11-03 16:43 apache-tomcat-7.0.57\bin\shutdown.bat
文件 1902 2014-11-03 16:43 apache-tomcat-7.0.57\bin\shutdown.sh
文件 2022 2014-11-03 16:43 apache-tomcat-7.0.57\bin\startup.bat
文件 1904 2014-11-03 16:43 apache-tomcat-7.0.57\bin\startup.sh
文件 38196 2014-11-03 16:43 apache-tomcat-7.0.57\bin\tomcat-juli.jar
文件 387267 2014-11-03 16:43 apache-tomcat-7.0.57\bin\tomcat-native.tar.gz
文件 4021 2014-11-03 16:43 apache-tomcat-7.0.57\bin\tool-wrapper.bat
文件 5024 2014-11-03 16:43 apache-tomcat-7.0.57\bin\tool-wrapper.sh
文件 2026 2014-11-03 16:43 apache-tomcat-7.0.57\bin\version.bat
文件 1908 2014-11-03 16:43 apache-tomcat-7.0.57\bin\version.sh
目录 0 2017-10-20 14:13 apache-tomcat-7.0.57\conf\
文件 12257 2014-11-03 16:45 apache-tomcat-7.0.57\conf\catalina.policy
文件 6294 2014-11-03 16:45 apache-tomcat-7.0.57\conf\catalina.properties
文件 1394 2014-11-03 16:45 apache-tomcat-7.0.57\conf\context.xm
文件 3288 2014-11-03 16:45 apache-tomcat-7.0.57\conf\logging.properties
文件 6757 2017-08-31 11:29 apache-tomcat-7.0.57\conf\server.xm
............此处省略717个文件信息
- 上一篇:intouch10.0
- 下一篇:geoip 经纬度
相关资源
- nicholasyong_3150597.zip
- GBT19710-2005地理信息元数据(全部)
- muziyu2015_10014594.zip
- 机器人状态估计中英文合集.rar
- PanDownload_v2.0.5.zip
- CopperCAM2019汉化版.rar
- 凸优化.zip
- UART.rar
- zw_softmax_exercise.zip
- zw_深圳shp.zip
- 人工智能在计算机网络中的应用.pdf
- 单多基地有源无源定位技术.pdf
- 鸟哥的Linux私房菜-基础学习篇(第四
- 计算机组成原理:学习指导与习题解
- GBT4208-2017外壳防护等级IP代码.pdf
- 2011最全抓鸡工具集成破解版135,338
- howlinuxworks.rar
- 引体向上计数测试软件.rar
- 康耐视视觉入门培训.doc
- tank.FBX
- 虚拟定位主程序.zip
- pp5ulw.rar
- AI面相V1.18微擎应用模块.zip
- GBT20257.3-2017国家基本比例尺地图图式
- 现代数字信号处理_姚天任.pdf
- AWS认证解决方案架构师官方学习指南
- svg缩略图补丁.zip
- MaoZhuaWeather.rar
- ap3g1-k9w7-tar.153-3.JAB.tar
- Go语言实战.pdf.zip
评论
共有 条评论