struts.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE struts PUBLIC
  3. "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
  4. "http://struts.apache.org/dtds/struts-2.0.dtd">
  5. <struts>
  6. <constant name="struts.objectFactory" value="spring" />
  7. <constant name="struts.enable.DynamicMethodInvocation" value="true" />
  8. <constant name="struts.devMode" value="true" />
  9. <constant name="struts.custom.i18n.resources" value="resource.application" />
  10. <constant name="struts.ui.theme" value="simple" />
  11. <!-- 公共功能 -->
  12. <include file="/com/sooka/common/config/struts_common.xml" />
  13. <include file="/com/sooka/codes/config/struts_codes.xml" />
  14. <include file="/com/sooka/generate/config/struts_generate.xml" />
  15. <!-- 例子 -->
  16. <include file="/com/sooka/nsos/system/login/config/struts_login.xml" />
  17. <include file="/com/sooka/nsos/system/organization/config/struts_dept.xml" />
  18. <include file="/com/sooka/nsos/system/employee/config/struts_employee.xml" />
  19. <include file="/com/sooka/nsos/system/module/config/struts_Module.xml" />
  20. <include file="/com/sooka/nsos/system/role/config/struts_Role.xml" />
  21. <include file="/com/sooka/nsos/system/permissions/config/struts_Permissions.xml" />
  22. <!-- jquery case -->
  23. <include file="/com/sooka/nsos/jcase/config/struts_JCase.xml" />
  24. <!-- dtree case -->
  25. <include file="/com/sooka/nsos/org/config/struts_org.xml" />
  26. <!-- fileUpLoad case -->
  27. <include file="/com/sooka/nsos/fileUpload/config/struts_fileUpload.xml" />
  28. <!-- trsdata -->
  29. <include file="/com/sooka/app_trsdata/trsdata/config/struts_trsdata.xml" />
  30. <!-- applogin -->
  31. <include file="/com/sooka/app_trsdata/login/config/struts_login.xml" />
  32. <!-- 办事服务接口 -->
  33. <include file="/com/sooka/bsfw/config/struts_bsfw.xml" />
  34. </struts>