TILES and STRUTS preliminary application

zhaozj2021-02-16  203

1. Define the configuration file:

2, configure web.xml:

action org.apache.struts.tiles.ActionComponentServlet definitions-config /web-inf/tiledefinitions.xml ...

3. Configure struts-config.xml

Call a redirected Servlet Dofirst Access the specific template configured in TileDefinitions.xml.

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

New Post(0)