简体   繁体   中英

How action mapping is done with struts with the help of struts-config.xml?

I would like to know how the action mapping is done by struts reading struts-config.xml file.

Will this differ between Struts1 and Struts2 - the way in which the action mapping is done?

Help me know about it.

In Struts1 action mapping is defined by the struts-config.xml action tag.

In Struts2 action mapping is defined by the struts.xml action tag.

Note, that action mapping implementation in Struts2 vary on which plugin provides it. The plugins also provide their own action configs.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM