Nutz-Web

Nutz, which is a collections of lightweight frameworks, each of them can be used independently

Лицензия

Лицензия

Группа

Группа

org.nutz
Идентификатор

Идентификатор

nutz-web
Последняя версия

Последняя версия

1.r.67
Дата

Дата

Тип

Тип

jar
Описание

Описание

Nutz-Web
Nutz, which is a collections of lightweight frameworks, each of them can be used independently

Скачать nutz-web

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.nutz/nutz-web/ -->
<dependency>
    <groupId>org.nutz</groupId>
    <artifactId>nutz-web</artifactId>
    <version>1.r.67</version>
</dependency>
// https://jarcasting.com/artifacts/org.nutz/nutz-web/
implementation 'org.nutz:nutz-web:1.r.67'
// https://jarcasting.com/artifacts/org.nutz/nutz-web/
implementation ("org.nutz:nutz-web:1.r.67")
'org.nutz:nutz-web:jar:1.r.67'
<dependency org="org.nutz" name="nutz-web" rev="1.r.67">
  <artifact name="nutz-web" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.nutz', module='nutz-web', version='1.r.67')
)
libraryDependencies += "org.nutz" % "nutz-web" % "1.r.67"
[org.nutz/nutz-web "1.r.67"]

Зависимости

compile (8)

Идентификатор библиотеки Тип Версия
org.nutz : nutz jar 1.r.67
org.eclipse.jetty : jetty-servlets jar 9.4.14.v20181114
org.eclipse.jetty : jetty-webapp jar 9.4.14.v20181114
org.eclipse.jetty.websocket : websocket-server jar 9.4.14.v20181114
org.eclipse.jetty.websocket : javax-websocket-server-impl jar 9.4.14.v20181114
org.eclipse.jetty : apache-jsp jar 9.4.14.v20181114
org.eclipse.jetty.websocket : websocket-client jar 9.4.14.v20181114
org.eclipse.jetty : apache-jstl jar 9.4.14.v20181114

Модули Проекта

Данный проект не имеет модулей.

nutz-web

A Jetty launcher + Nutz.Mvc Ajax View

Build Status Maven Central License

添加依赖(maven)

		<dependency>
			<groupId>org.nutz</groupId>
			<artifactId>nutz-web</artifactId>
			<version>1.r.62</version>
		</dependency>

新建一个配置文件web.properties

app-root=src/main/webapp
app-port=8080

启动

方式一, 直接使用org.nutz.web.WebLauncher,该类自带main方法

方式二,新建一个类,调用org.nutz.web.WebLauncher

package net.wendal.nutzbook;

import org.nutz.web.WebLauncher;

public class MainLauncher extends WebLauncher {

    public static void main(String[] args) {
        WebLauncher.main(args);
    }
}

将war转为runnable war

首先,打包一个带依赖的nutz-web

mvn -Dmaven.test.skip=true clean compile assembly:single -U

转换war文件

java -jar target\nutz-web-1.r.63-SNAPSHOT-jar-with-dependencies.jar -inject nutzbook-2.9.5.war -output nutzcn.war

inject与output不可以相同.

org.nutz

Nutz

Версии библиотеки

Версия
1.r.67
1.r.66
1.r.65
1.r.63
1.r.62
1.r.61.r2
1.r.60
1.r.59
1.r.58.r2
1.r.58
1.r.57
1.r.56
1.b.52
1.b.49