Package com.poscoict.glueframework.web.control.struts

web controller package for struts framework.

See:
          Description

Class Summary
GlueAbstractAction GlueSimpleActionÀ» »ç¿ëÇÏÁö ¾Ê°í GlueSimpleAction¿¡ ±â´ÉÀ» È®ÀåÇϱ⠿øÇÏ´Â °æ¿ì »ç¿ë.
GlueSimpleAction Internal Use Only

GlueSimpleActionÀº Struts F/WÀ» À§ÇÑ Wrapper Class ÀÌ´Ù.
 

Package com.poscoict.glueframework.web.control.struts Description

web controller package for struts framework. Glue Web Controller.

Struts F/WÀ» À§ÇÑ Wrapper ClassÀÎ GlueSimpleAction ¿Í ±× ±â´É È®ÀåÀ» À§ÇÑ ClassÀÎ GlueAbstractAction À» Á¦°øÇÑ´Ù.

 1. web.xml
     <servlet>
         <servlet-name>action</servlet-name>
         <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
         <init-param>
             <param-name>config</param-name>
             <param-value>/WEB-INF/struts-config.xml</param-value>
         </init-param>
         <load-on-startup>1</load-on-startup>
     </servlet>
     <servlet-mapping>
         <servlet-name>action</servlet-name>
         <url-pattern>*.do</url-pattern>
     </servlet-mapping>
     
 2. struts-config.xml
     <?xml version = '1.0' encoding = 'EUC-KR'?>
     <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
     <struts-config>
         <action-mappings>
             <action path="/sample" type="com.poscoict.glueframework.web.control.struts.GlueSimpleAction">
                 <forward name="success"  path="/sample.jsp" />
                 <forward name="add"      path="/sample01.jsp" />
                 <forward name="update"   path="/sample02.jsp" />
             </action>
             ....
         </action-mappings>
     </struts-config>
 
 3. url & parameter
    http://{ip}:{port}/{context}/sample.do
 
 

Since:
2013. 5. 10.
Version:
1.0.0
Author:
Ç㠵γç


Copyright © 2013–2014 POSCO ICT SWÁ¦Ç°±â¼úÆÀ. All rights reserved.