GithubHelp home page GithubHelp logo

xsls / webitscript-mvc-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from febit/wit-mvc-demo

0.0 1.0 0.0 235 KB

Webit Script MVC demo

License: BSD 3-Clause "New" or "Revised" License

Java 91.76% HTML 8.24%

webitscript-mvc-demo's Introduction

webitscript-mvc-demo

Webit Script MVC demo

本示例尽量采用最少的代码演示使用方法,尽量做到最小第三方依赖,因此没有的数据库调用模块,无需复杂配置,生成后可直接部署在Web容器下运行并查看效果

##目录说明

  • base-model 共享的基础代码
  • common-templates 共享的模板及配置文件
  • jfinal-demo JFinal 支持示例
  • jodd-madvoc-demo Jodd-madvoc 支持示例
  • spring-mvc-demo Spring mvc 支持示例
  • struts-demo Struts 支持示例
  • servlet-demo servlet 支持示例
  • servlet-filter-demo servlet-filter 支持示例

##编辑说明

  • 必须保留<module>base-model</module>
  • 根据需要可注释掉以下可选模块
<module>jfinal-demo</module>
<module>jodd-madvoc-demo</module>
<module>spring-mvc-demo</module>
<module>struts-demo</module>
<module>servlet-demo</module>
<module>servlet-filter-demo</module>

##生成示例

###IDE生成示例

  • Netbeans: 在项目右键菜单中选择清理并构建即可
  • eclipse 需要先安装Maven 插件

###命令行生成示例

cd /path/to/webitscript-mvc-demo
mvn clean install

###运行示例

  • 每个模块的实例将会在 target 文件夹下,打包为war文件,已经合并了共享的模板以及配置
  • 可直接部署在Tomcat、jetty 等Web容器下

Bitdeli Badge

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.