Datasvr is a simple collection of back-service utilities.
At the moment, we only have a springmvc-demo configuration without any other plugins, but there is more to come!
- configure
pom.xml
, including *.jar - add
web.xml
(applicationContext.xml & dv-servlet.xml included) - files in
WEB-INF/
is needed for the configuration indv-servlet.xml
sql files
is configured in 'resources/data.properties'(res), seepub/Sql.zip
- you can input
http://127.0.0.1:8080/dv/home/index
to see thehome.jsp
, ifhome.jsp
does not exist, the console will show fault for no-mapping. - in
cn.edu.hhuc.si.controller.api.BasicAPI
, you can see different functions for the communication.
For configuration of the demo, you can:
Use Jetty:
- mvn install
- run
DataServer.java
in packagecn.edu.hhuc.si.server
Use Tomcat:
- For setting springmvc, you can see V1.0
- For solving the cross-domain, you can see V1.1
datasvr/web
is not used
For feedback and questions with IntelliJ IDEA building the project, feel free to email us:
- Youxian Tao [email protected]