J2CMS is an open source content management system based on the JAVAEE platform. Developed using Spring2.5 + Struts2.1 + JPA1.0 (Hibernate3.3) + FreeMarker + MySQL. Source code network provides you with the official download of J2CMS content management system SSH 20140806.
How to use J2CMS content management system:
Import into Eclipse:
1. First build a project named J2CMS-SSH
2. Copy the contents of the src and WebContent directories to the corresponding directories in the project.
3.j2cms-ssh.sql is a database and needs to be imported into MySQL.
Method 1, import using MySQL Administrator
Method two, use MySQL command to import:
mysql> create database j2cms-ssh;
mysql> use j2cms-ssh;
mysql> source d:j2cms-ssh.sql;
4. Modify the database configuration in the srcMETA-INFpersistence.xml file.
5. Run the project with tomcat and manage the background path/login
For example, //127.0.0.1:8080/J2CMS-SSH/login test account admin password admin
6. Pay attention to changing the program directory name. For example, after changing J2CMS-SSH to MyWeb, you need to regenerate static table pages in the management background to display them normally. The order of generating static pages is to first generate static files for the homepage, and then generate static files for columns and articles. page
Platform: JAVAEE/MYSQL