配置Struts应用(1)[1]

[入库:2005年8月18日] [更新:2007年3月25日]

本文简介:选择自 mikechu 的 blog

配置struts应用(1)

         struts应用采用两个基于xml的配置文件来配置应用,这两个配置文件是web.xmlstruts-config.xmlweb.xml适用于所有的java web应用。struts-config.xml文件是struts应用专有的配置文件。

dtd文档类型定义(document type definition)对xml文档的格式做了定义。<web-app>web应用发布文件的顶层元素。

<!element web-app(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*)

>

本文关键:配置Struts应用(1)
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top