[JSP&Servlet] web.xml Enjoy/JSP2008. 11. 28. 11:12
[2008.08.04] XML 구성#
icon?
display-name?
description?
distributable?
context-param*
filter*
filter-mapping*
listener*
servlet*
servlet-mapping*
session-config?
mime-mapping*
welcome-file-list?
error-page*
taglib*
resource-env-ref*
resource-ref*
security-constraint*
login-config?
security-role*
env-entry*
ejb-ref*
ejb-local-ref*
<resource-ref>#
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/mte</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<servlet>, <servlet-mapping>#
<servlet>
<servlet-name>pdmcis</servlet-name>
<servlet-class>com.mococo.trace.PDMCISServlet</servlet-class>
<init-param>
<param-name>properties</param-name>
<param-value>/WEB-INF/conf/velocity.properties</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>pdmcis</servlet-name>
<url-pattern>/pdmcis/*</url-pattern>
</servlet-mapping>
<error-page>#
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/ErrorMsg.jsp</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/ErrorMsg.jsp</location>
</error-page>
<session-config>#
<session-config>
<session-timeout>20</session-timeout>
</session-config>