1 Star 0 Fork 1

王宇@0000000000_1 / webitscript-mvc-demo

forked from febit / wit-mvc-demo
暂停
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
BSD-3-Clause

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

Copyright (c) 2013, Webit Team All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the Jodd team nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

简介

Webit-Script 的 Web应用示例,包含对 JFinal, Jodd-madvoc, spring, struts, servlet等的支持 展开 收起
BSD-3-Clause
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/wbj2008-key/webitscript-mvc-demo.git
git@gitee.com:wbj2008-key/webitscript-mvc-demo.git
wbj2008-key
webitscript-mvc-demo
webitscript-mvc-demo
master

搜索帮助