로컬 아파치 톰캣 8.5 서버 실행 오류 수정

This commit is contained in:
mcutegs2
2020-06-05 14:00:37 +09:00
parent 9dedc3a095
commit 70c7c4771a
15 changed files with 45 additions and 37 deletions

View File

@@ -1,3 +1,3 @@
#Fri Jun 05 10:15:50 KST 2020
#Fri Jun 05 12:31:26 KST 2020
org.eclipse.wst.server.core.isServerProject=true
eclipse.preferences.version=1

View File

@@ -153,7 +153,7 @@
Note: The pattern used is equivalent to using pattern="common" -->
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" pattern="%h %l %u %t &quot;%r&quot; %s %b" prefix="localhost_access_log" suffix=".txt"/>
</Host>
<Context docBase="hospital" path="/hospital" reloadable="true" source="org.eclipse.jst.jee.server:hospital"/></Host>
</Engine>
</Service>
</Server>

View File

@@ -19,10 +19,14 @@
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v8.5"/>
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v8.5">
<attributes>
<attribute name="owner.project.facets" value="jst.web;#system#"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="owner.project.facets" value="java"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>

1
hospital/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/target/

View File

@@ -15,6 +15,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
@@ -25,5 +30,6 @@
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
</natures>
</projectDescription>

View File

@@ -1,2 +1,4 @@
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/test/java=UTF-8
encoding/<project>=UTF-8

View File

@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime name="Apache Tomcat v8.5"/>
<fixed facet="wst.jsdt.web"/>
<installed facet="jst.web" version="2.3"/>
<installed facet="jst.web" version="3.1"/>
<installed facet="wst.jsdt.web" version="1.0"/>
<installed facet="java" version="1.8"/>
</faceted-project>

View File

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.wst.ws.service.policy.projectEnabled=false

View File

@@ -1,7 +1,15 @@
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd" >
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1">
<web-app>
<display-name>Archetype Created Web Application</display-name>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>

View File

@@ -4,9 +4,17 @@
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<title>병원 관리 시스템</title>
</head>
<body>
<h1>what the hell?</h1>
</body>
<BODY bgcolor=black>
<h1 style="color:white;">병원 임직원 회원가입</h1>
<FORM action="join.jsp" method="post">
<font color=white>
아이디 : <INPUT type="text" name="id" maxlength="8"><BR>
암호 : <INPUT type="password" name="pwd" maxlength="8"><BR>
이름 : <INPUT type="text" name="name" maxlength="12"><BR>
e-mail : <INPUT type="text" name="email" maxlength="25"><P>
<INPUT type="submit" value=" 저 장 "></font>
</FORM>
</BODY>
</html>

Binary file not shown.

View File

@@ -1,7 +0,0 @@
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd" >
<web-app>
<display-name>Archetype Created Web Application</display-name>
</web-app>

View File

@@ -1,12 +0,0 @@
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<h1>what the hell?</h1>
</body>
</html>

View File

@@ -1 +0,0 @@
/META-INF/

View File

@@ -1,4 +0,0 @@
#Created by Apache Maven 3.6.3
version=0.0.1-SNAPSHOT
groupId=co.mg
artifactId=hospital