From 1f7defc54bdfe2977cdf20f690d1b0018cedad02 Mon Sep 17 00:00:00 2001 From: insung Date: Wed, 4 Dec 2024 22:35:33 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EB=B3=B5=EA=B5=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- stockMate/bin/pom.xml | 241 ++++++++++++++++++ .../spring/appServlet/servlet-context.xml | 28 ++ .../webapp/WEB-INF/spring/root-context.xml | 58 +++++ .../main/webapp/WEB-INF/views/commonErr.jsp | 14 + .../src/main/webapp/WEB-INF/views/home.jsp | 14 + .../webapp/WEB-INF/views/receiving/main.jsp | 65 +++++ .../webapp/WEB-INF/views/warehouse/create.jsp | 19 ++ stockMate/bin/src/main/webapp/WEB-INF/web.xml | 50 ++++ stockMate/bin/src/test/resources/log4j.xml | 41 +++ stockMate/src/test/resources/log4j.xml | 41 +++ 10 files changed, 571 insertions(+) create mode 100644 stockMate/bin/pom.xml create mode 100644 stockMate/bin/src/main/webapp/WEB-INF/spring/appServlet/servlet-context.xml create mode 100644 stockMate/bin/src/main/webapp/WEB-INF/spring/root-context.xml create mode 100644 stockMate/bin/src/main/webapp/WEB-INF/views/commonErr.jsp create mode 100644 stockMate/bin/src/main/webapp/WEB-INF/views/home.jsp create mode 100644 stockMate/bin/src/main/webapp/WEB-INF/views/receiving/main.jsp create mode 100644 stockMate/bin/src/main/webapp/WEB-INF/views/warehouse/create.jsp create mode 100644 stockMate/bin/src/main/webapp/WEB-INF/web.xml create mode 100644 stockMate/bin/src/test/resources/log4j.xml create mode 100644 stockMate/src/test/resources/log4j.xml diff --git a/stockMate/bin/pom.xml b/stockMate/bin/pom.xml new file mode 100644 index 0000000..57aeede --- /dev/null +++ b/stockMate/bin/pom.xml @@ -0,0 +1,241 @@ + + + 4.0.0 + com.stockm8 + controller + SpringBoard + war + 1.0.0-BUILD-SNAPSHOT + + 1.11 + 4.3.8.RELEASE + 1.6.10 + 1.6.6 + + + + + org.springframework + spring-context + ${org.springframework-version} + + + + commons-logging + commons-logging + + + + + org.springframework + spring-webmvc + ${org.springframework-version} + + + + + org.aspectj + aspectjrt + ${org.aspectj-version} + + + + + org.slf4j + slf4j-api + ${org.slf4j-version} + + + org.slf4j + jcl-over-slf4j + ${org.slf4j-version} + runtime + + + org.slf4j + slf4j-log4j12 + ${org.slf4j-version} + runtime + + + log4j + log4j + 1.2.15 + + + javax.mail + mail + + + javax.jms + jms + + + com.sun.jdmk + jmxtools + + + com.sun.jmx + jmxri + + + runtime + + + + + javax.inject + javax.inject + 1 + + + + + javax.servlet + javax.servlet-api + 3.1.0 + provided + + + javax.servlet.jsp + jsp-api + 2.1 + provided + + + javax.servlet + jstl + 1.2 + + + + + junit + junit + 4.12 + test + + + + + + com.mysql + mysql-connector-j + 8.0.32 + + + + + org.mybatis + mybatis + 3.4.1 + + + + org.mybatis + mybatis-spring + 1.3.0 + + + + org.springframework + spring-jdbc + 4.3.8.RELEASE + + + + + org.springframework + spring-test + ${org.springframework-version} + + + + + org.projectlombok + lombok + 1.18.34 + provided + + + + + org.bgee.log4jdbc-log4j2 + log4jdbc-log4j2-jdbc4.1 + 1.16 + + + + + com.zaxxer + HikariCP + 5.1.0 + + + + + org.springframework + spring-context-support + 4.3.8.RELEASE + + + + + javax.mail + javax.mail-api + 1.6.2 + + + + + com.sun.mail + javax.mail + 1.6.2 + + + + + + + + + + + maven-eclipse-plugin + 2.9 + + + org.springframework.ide.eclipse.core.springnature + + + org.springframework.ide.eclipse.core.springbuilder + + true + true + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.5.1 + + 1.11 + 1.11 + -Xlint:all + true + true + + + + org.codehaus.mojo + exec-maven-plugin + 1.2.1 + + org.test.int1.Main + + + + + diff --git a/stockMate/bin/src/main/webapp/WEB-INF/spring/appServlet/servlet-context.xml b/stockMate/bin/src/main/webapp/WEB-INF/spring/appServlet/servlet-context.xml new file mode 100644 index 0000000..4b5bae1 --- /dev/null +++ b/stockMate/bin/src/main/webapp/WEB-INF/spring/appServlet/servlet-context.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/stockMate/bin/src/main/webapp/WEB-INF/spring/root-context.xml b/stockMate/bin/src/main/webapp/WEB-INF/spring/root-context.xml new file mode 100644 index 0000000..ec7af62 --- /dev/null +++ b/stockMate/bin/src/main/webapp/WEB-INF/spring/root-context.xml @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/stockMate/bin/src/main/webapp/WEB-INF/views/commonErr.jsp b/stockMate/bin/src/main/webapp/WEB-INF/views/commonErr.jsp new file mode 100644 index 0000000..7a1785c --- /dev/null +++ b/stockMate/bin/src/main/webapp/WEB-INF/views/commonErr.jsp @@ -0,0 +1,14 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" + pageEncoding="UTF-8"%> + + + + +Insert title here + + + +

commonErr.jsp

+ + + \ No newline at end of file diff --git a/stockMate/bin/src/main/webapp/WEB-INF/views/home.jsp b/stockMate/bin/src/main/webapp/WEB-INF/views/home.jsp new file mode 100644 index 0000000..4783383 --- /dev/null +++ b/stockMate/bin/src/main/webapp/WEB-INF/views/home.jsp @@ -0,0 +1,14 @@ +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ page session="false" %> + + + Home + + +

+ Hello world! +

+ +

The time on the server is ${serverTime}.

+ + diff --git a/stockMate/bin/src/main/webapp/WEB-INF/views/receiving/main.jsp b/stockMate/bin/src/main/webapp/WEB-INF/views/receiving/main.jsp new file mode 100644 index 0000000..622a6b8 --- /dev/null +++ b/stockMate/bin/src/main/webapp/WEB-INF/views/receiving/main.jsp @@ -0,0 +1,65 @@ +<%@ page language="java" contentType="text/html; charset=EUC-KR" + pageEncoding="UTF-8"%> +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> + + + + +Insert title here + + + +

입고 메인

+ + + + + + + + + + + + + + + + + + + + + + + + +
입고 번호오늘 입고될 시간제품 번호제품명옵션명입고 수량작업메모공급사 회사 이름
${vo.receivingNo }${vo.receivingDate }${vo.productNO }${vo.productName }${vo.optionName }${vo.receivingQty }${vo.workMemo }${vo.supplierName }
+ + + + + + + + + + + + + + + + + + + + + + + + +
입고 번호어제 입고된 시간제품 번호제품명옵션명입고 수량작업메모공급사 회사 이름
${vo.receivingNo }${vo.receivingDate }${vo.productNO }${vo.productName }${vo.optionName }${vo.receivingQty }${vo.workMemo }${vo.supplierName }
+ + + \ No newline at end of file diff --git a/stockMate/bin/src/main/webapp/WEB-INF/views/warehouse/create.jsp b/stockMate/bin/src/main/webapp/WEB-INF/views/warehouse/create.jsp new file mode 100644 index 0000000..408dcd8 --- /dev/null +++ b/stockMate/bin/src/main/webapp/WEB-INF/views/warehouse/create.jsp @@ -0,0 +1,19 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" + pageEncoding="UTF-8"%> + + + + +Create warehouse + + +

창고 등록 페이지

+
+ + + + + +
+ + \ No newline at end of file diff --git a/stockMate/bin/src/main/webapp/WEB-INF/web.xml b/stockMate/bin/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000..93104e4 --- /dev/null +++ b/stockMate/bin/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,50 @@ + + + + + + contextConfigLocation + /WEB-INF/spring/*-context.xml + + + + + org.springframework.web.context.ContextLoaderListener + + + + + appServlet + org.springframework.web.servlet.DispatcherServlet + + contextConfigLocation + /WEB-INF/spring/appServlet/servlet-context.xml + + 1 + + + + appServlet + / + + + + + setUTF8 + org.springframework.web.filter.CharacterEncodingFilter + + encoding + UTF-8 + + + + + setUTF8 + /* + + + + + diff --git a/stockMate/bin/src/test/resources/log4j.xml b/stockMate/bin/src/test/resources/log4j.xml new file mode 100644 index 0000000..6a0a3ed --- /dev/null +++ b/stockMate/bin/src/test/resources/log4j.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/stockMate/src/test/resources/log4j.xml b/stockMate/src/test/resources/log4j.xml new file mode 100644 index 0000000..6a0a3ed --- /dev/null +++ b/stockMate/src/test/resources/log4j.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +