Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the configuration files for the secondary development of Jspxcms

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains "what are the configuration files for the secondary development of Jspxcms". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "what are the configuration files for the secondary development of Jspxcms?"

1.1 profile 1.1.1 profile directory

/ WEB-INF/conf/plugin

The core of secondary development is the configuration file, which integrates different modules and plug-ins together. All configuration files must be in this directory, and the configuration files in that directory will be loaded automatically.

Create your own folder under this directory, which can be any name, such as abc, novel, etc. This example is plug. That is / WEB-INF/conf/plugin/plug.

1.1.2 the configuration file introduces the dialog application.properties: the function menu, permissions, internationalization, and Entity are all related to this file.

The load of the 0. Context-dao.xml:Dao.

The load of the 0. Context-service.xml:Service.

Angular controller-back.xml: loading of background Controller.

Angular controller-fore.xml: loading of the foreground Controller.

Z. context-directive.xml: loading of tags.

1.2 Source Code package name

The source code can be placed under any package, as long as it corresponds to the settings in the configuration file.

This example is: com.jspxcms.plug.

1.3 background JSP files

The root directory of the background JSP file is: / WEB-INF/views.

The detailed path depends on the address returned by Controller. If plug/resume/resume_list is returned, the corresponding JSP file is: / WEB-INF/views/plug/resume/resume_list.jsp.

The directory where the background JSP of this example resides: / WEB-INF/views/plug/resume

1.4 internationalized files

The root directory of the internationalization file is: / WEB-INF/messages.

The internationalization path for this example is: / WEB-INF/messages/plugin.

At this point, I believe you have a deeper understanding of "what are the configuration files for the secondary development of Jspxcms?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report