Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

wenbo2018/WebS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

68 Commits

Repository files navigation

WebS is a Java lightweight and simple MVC framework that is mainly used for learning . WebS support restful URLs, annotation configuration and WebS is integrated with spring IOC also can extended other IOC container, supporting the view template extension ,default implementation of JSP. The framework is mainly used for their own learning, some of which also refer to the framework of other people to write online, if you are interested in Students can join in.


WebS request processing flow chart

image

Maven dependency

latest release version is 0.0.2
 <dependency>
 <groupId>com.github.wenbo2018</groupId>
 <artifactId>webs-core</artifactId>
 <version>0.0.2</version>
 </dependency>

Quick Config

 <!--WebS config servlet-->
 <servlet>
 <servlet-name>webs</servlet-name>
 <servlet-class>com.github.wenbo2018.webs.web.servlst.WebSDispatchServlet</servlet-class>
 </servlet>
 <servlet-mapping>
 <servlet-name>webs</servlet-name>
 <url-pattern>/</url-pattern>
 </servlet-mapping>
 <!--WebS config-->
 <listener>
 <listener-class>com.github.wenbo2018.webs.context.listener.WebsContextLoaderListener</listener-class>
 </listener>

Feature

1.All annotation configuration 2.support json、jsp、ftl 3.lightweight

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

WebS is a lightweight MVC framework

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /