Struts Multi-Memachment Success Example

xiaoxiao2021-03-06  40

First, Web.xml:

Action

org.apache.struts.Action.ActionServlet

config

/Web-inf/stc/struts-config.xml

config / management

/Web-inf/etc/manage/struts-manage-config.xml

config / portal

/Web-inf/etc/portal/struts-portal-config.xml

config / workflow

/Web-inf/etc/workflow/struts-workflow-config.xml

config / bulletin

/web-inf/etc/bulletin/struts-bulletin-config.xml

config / message

/Web-inf/etc/message/struts-message-config.xml

5

Second, Struts-Bulletin-Config.xml:

Third, directory structure

It is worth noting that after the module is changed, it must be reused using the application assembler package (under WebSphere), otherwise

HTTP404 error

转载请注明原文地址:https://www.9cbs.com/read-71861.html

New Post(0)