본문 바로가기
WAS/WEBLOGIC

10. 서블렛 버전별 web.xml 스키마

by coldplayer83 2023. 7. 4.
728x90

https://ko.wikipedia.org/wiki/%EC%98%A4%EB%9D%BC%ED%81%B4_%EC%9B%B9%EB%A1%9C%EC%A7%81_%EC%84%9C%EB%B2%84

 

오라클 웹로직 서버 - 위키백과, 우리 모두의 백과사전

위키백과, 우리 모두의 백과사전. 오라클 웹로직 서버(Oracle WebLogic Server)는 오라클이 개발한 자바 EE 웹 애플리케이션 서버이다. 오라클은 2008년 BEA 시스템즈를 인수하면서 웹로직 서버를 인수하

ko.wikipedia.org

 

https://fliedcat.tistory.com/65

 

 


 

서블렛 버전별 web.xml 스키마)

 

servlet 4.0

<?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_4_0.xsd"
	version="4.0">
</web-app>

 

servlet 3.1

<?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>

 

servlet 3.0

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
	version="3.0">
</web-app>

 

servlet 2.5

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="servlet-2_5" version="2.5"
	xmlns="http://java.sun.com/xml/ns/javaee"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
</web-app>

 

servlet 2.4

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="servlet-2_4" version="2.4"
	xmlns="http://java.sun.com/xml/ns/j2ee"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
</web-app>

 

servlet 2.3

<?xml version="1.0" encoding="UTF-8"?>
<!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>
</web-app>

 

servlet 2.2

<?xml version="1.0" encoding="UTF-8"?>
<!!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
</web-app>

 

2.4 부터는 DTD(Document Type Definition)를 사용하지 않고 xsd(XML Schema Definition)으로 변경되었음

'WAS > WEBLOGIC' 카테고리의 다른 글

12. 개발모드 / 운영모드  (0) 2023.07.04
11. stage / nostage  (0) 2023.07.04
9. 배치  (0) 2023.07.04
8. 자바 옵션 설정  (0) 2023.07.04
7. 기동/중지 스크립트  (0) 2023.07.04