..
DEV/WEB WAS (11)
web.xml분석
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.

http://blog.naver.com/b1ack7circ1e?Redirect=Log&logNo=10052647428

http://www.xgenesis.org/xe/?mid=web_programming&page=2&document_srl=318

http://blog.naver.com/kang_129?Redirect=Log&logNo=100052364767
<?xml version="1.0" encoding="UTF-8"?>

<!--XML 문서 표준 정의-->
<web-app 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" >

<!--필터 항상 EUC-KR로 인코딩/필터링을 한다.-->

   <filter>
      <filter-name>Encoding Filter</filter-name>
      <filter-class>kr.ac.icu.spiral.sspmt.common.EncodingFilter</filter-class>
      <init-param>
         <param-name>encoding</param-name>
         <param-value>EUC-KR</param-value>
      </init-param>
   </filter>

   <filter-mapping>
      <filter-name>Encoding Filter</filter-name>
      <url-pattern>/*</url-pattern>
   </filter-mapping>

    <!--
    To use non XDoclet filter-mappings, create a filter-mappings.xml file that
    contains the additional filter-mappings and place it in your
    project's merge dir.
    -->

    <!--
    To use non XDoclet listeners, create a listeners.xml file that
    contains the additional listeners and place it in your
    project's merge dir.
    -->

 <!-- Struts -->
<servlet>

<!--액션으로 요청이 들어오면 아래 액션 서블릿 클래스로 ㄱㄱ싱-->
 <servlet-name>action</servlet-name>

<!-- 이 클레스는 struts.jar가 있어야만 돌아갑니다.

라이브러리에서 찾아보시고 jar 푸셔서 확인하세요^^-->
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>

<!--각종 파라미터들은 XML 파서가 파싱해서 정보를 갖고 있게 된다.-->
 <init-param>
     <param-name>application</param-name>
     <param-value>Resources</param-value>
  </init-param>

<!--chainConfig-->
  <init-param>
    <param-name>chainConfig</param-name>
    <param-value>/WEB-INF/conf/chain-config.xml</param-value>
  </init-param>

<!--conig-->
 <init-param>
     <param-name>config</param-name>
     <param-value>/WEB-INF/conf/struts-config.xml</param-value>
 </init-param>

<!--debug-->
   <init-param>
     <param-name>debug</param-name>
     <param-value>0</param-value>
   </init-param>
    <load-on-startup>1</load-on-startup>   
</servlet>

  <!-- struts -->

<!--*.do 즉 action.do page.do 등을 action으로 맵핑한다.-->
<servlet-mapping>
 <servlet-name>action</servlet-name>
 <url-pattern>*.do</url-pattern>
</servlet-mapping>

<!--tiles와 html, bean, logic, nested 테그라이브러리 선언-->

<jsp-config>
  <taglib>
   <taglib-uri>struts-tiles</taglib-uri>
   <taglib-location>/WEB-INF/tld/struts-tiles.tld</taglib-location>
  </taglib>
  <taglib>
    <taglib-uri>struts-html</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-html.tld</taglib-location>
  </taglib>
  <taglib>
   <taglib-uri>struts-bean</taglib-uri>
   <taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location>
  </taglib>
  <taglib>
   <taglib-uri>struts-logic</taglib-uri>
   <taglib-location>/WEB-INF/tld/struts-logic.tld</taglib-location>
  </taglib>
  <taglib>
   <taglib-uri>struts-nested</taglib-uri>
   <taglib-location>/WEB-INF/tld/struts-nested.tld</taglib-location>
  </taglib>
</jsp-config>

</web-app>

'DEV > WEB WAS' 카테고리의 다른 글

jeus webtob version  (0) 2013.09.09
Jeus Response header 값 안 보이게 설정 하기  (0) 2013.07.09
web.xml-2  (0) 2008.08.28
  Comments,     Trackbacks