Home > Backend Development > PHP Tutorial > Solve the problem that jsp struts2 reports an exception when modifying the default location of the configuration file

Solve the problem that jsp struts2 reports an exception when modifying the default location of the configuration file

WBOY
Release: 2016-07-25 09:13:22
Original
820 people have browsed it

Exception information:

  1. struts2
  2. org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter

  3. config
  4. struts-default .xml,struts-plugin.xml,struts2/struts-*.xml

Copy code

Must add:
struts-default.xml (required), struts-plugin.xml (optional) two additional configuration files.

Cause analysis:
struts-default.xml is the default configuration file, and some necessary framework parameters are set here by default.

I hope the above method can help you introduce the problem of modifying the configuration file in struts2.



source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template