0
This repository has been archived on 2022-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
skeleton-springmvc/README.MD
2018-09-23 14:51:54 +03:00

25 lines
850 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Skeleton: SpringMVC (standalone) + Thymeleaf template engine
В данной ветке располагается пример *(заготовка, шаблон)*
для создания _WebApplication_ средствами **Spring Framework**
с использованием **Spring WebMVC** со встроенным сервером **Jetty**.
В качестве шаблонизатора использован **Thymeleaf**.
## Сборка
```
mvn package
```
## Запуск
```
java -jar spring-mvc-1.0.1-SNAPSHOT.jar
```
По-умолчанию используются ip:port `127.0.0.1:8080`. Для изменения требуется добавить следующие параметры:
- `-Dhost=0.0.0.0` - для указания IP адреса `0.0.0.0`
- `-Dport=80` - для указания порта `80`