资源简介
软件工程的课程设计,选题为酒店预订管理系统,内容包括源代码、rose文件、设计文档、用户操作手册、演示用ppt、数据库模型图。
代码片段和文件信息
/*
* 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“);
response.setCharacterEncoding(“UTF-8“);
try (PrintWriter writer = response.getWriter()) {
writer.println(““);
writer.println(““);
writer.println(“ta charset=\“UTF-8\“ />“);
writer.println(“tle>Sample Application Servlet Page tle>“);
writer.println(““);
writer.println(““);
writer.println(“yle=\“float: left; padding: 10px;\“>“);
writer.println(“
“);
writer.println(““);
writer.println(“Sample Application Servlet
“);
writer.println(““);
writer.println(“This is the output of a servlet that is part of“);
writer.println(“the Hello World application.“);
writer.println(“
“);
writer.println(“
相关资源
- 《软件工程导论 第六版》张海潘编著
- 广工软件工程复习大全重点+试卷+答案
- 软件工程导论大作业
- 东南大学软件工程试卷14-15-2
- 福州大学软件工程课程复习资料
- 软件工程第三版有目录 王立福,孙艳
- 软件工程.李允中著.清华大学出版社
- 厦门大学软件工程往年试卷加答案.
- 软件工程东北大学
- 软件工程订票系统测试分析报告
- 西安电子科技大学 软件工程 课件 集
- 软件工程实践者的研究方法课件第七
- 重邮最新19年计算机、软件工程考研笔
- 高级软件工程方木云版
- 面向对象软件工程 (美国)(Stephe
- 基于SSH的软件工程课程网站的设计与
- 嵌入式系统软件工程:方法、实用技
- 东南大学计算机系软件工程考试资料
- BOOK_软件工程+理论+方法与实践
- 中国矿业大学-软件工程实践报告
- 实用软件工程-郑人杰
- 软件工程导论中文版+英文版
- 酒店预订管理系统
- 软件工程双语)课件
- 软件工程 英文版 课件
- 软件工程与计算 卷2 软件开发的技术
- 软件工程专业2019毕业设计-购物商城系
- 软件工程高清原书第9版
- 软件工程实践者的研究方法原书第7版
- 南京大学软件工程842专业课_复试_数据
评论
共有 条评论