Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Lab 16 (Task 1)

This is an introduction to the Spring Boot framework and part of the Java development course at the Vistula University. The repository contains a simple web application which greets the user visiting the /greeting page.

Getting started

Prerequisites

  • OpenJDK 21
  • Maven

From the repository root:

  1. Install dependencies and compile.
mvn install
  1. Run the web server.
java -jar target/first-project-java-spring-0.0.1-SNAPSHOT.jar
  1. Visit http://localhost:8080 on your browser.

Routes

GET / A static generic hello Vistula page.
Parameters

None

Responses
http code content-type response body
200 text/html;charset=UTF-8 HTML page
GET /greeting A dynamic greeting page with a photo.
Parameters
name type data type description
name query string The name of the user to greet.
Responses
http code content-type response body
200 text/html;charset=UTF-8 HTML page

About

Introduction to Spring Boot.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages