Since the struts profile does not define the problem caused by the header file

xiaoxiao2021-03-06  22

In using Struts, you must configure the struts-config.xml file. The web container I use is Resin, using the struts structure, after the system is built, start RESIN, confirm that the RESIN background error, check all the places, No mistakes were found, and later found that the struts-config.xml file did not increase the file header. It did not define this file header. The system also runs as usual. Later, after an XML parsing configuration, it will not start it normally. After adding the following file header, the system starts normally.

http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd ">

Later, I added a function of realizing the internationalization of language (i18n), and adding the following configuration in the struts-config.xml file:

Ayuan

9CBS certified blog expert

Blog expert

Huawei old employees

Big Data

More than ten years, in Huawei, Internet Corporation's experience, profound understanding and practical experience in CRM, big data, mainly sharing various project experience, including architecture, Java, big data and other articles

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

New Post(0)