Sextou éusguri

This commit is contained in:
MatheusMariani 2019-08-09 15:32:53 -03:00
parent e157f200f8
commit de9ddc9069
3 changed files with 16 additions and 1 deletions

View file

@ -0,0 +1,14 @@
package org.springframework.samples.petclinic.product;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class ProductController {
@GetMapping("/products")
public String showProductList(){
return "Hacker 2.0";
}
}

View file

@ -23,3 +23,4 @@ logging.level.org.springframework=INFO
# Maximum time static resources should be cached # Maximum time static resources should be cached
spring.resources.cache.cachecontrol.max-age=12h spring.resources.cache.cachecontrol.max-age=12h
server.port = 8081

View file

@ -9,7 +9,7 @@
class="form-horizontal" id="search-owner-form"> class="form-horizontal" id="search-owner-form">
<div class="form-group"> <div class="form-group">
<div class="control-group" id="lastNameGroup"> <div class="control-group" id="lastNameGroup">
<label class="col-sm-2 control-label">Last name </label> <label class="col-sm-2 control-label">Last Name</label>
<div class="col-sm-10"> <div class="col-sm-10">
<input class="form-control" th:field="*{lastName}" size="30" <input class="form-control" th:field="*{lastName}" size="30"
maxlength="80" /> <span class="help-inline"><div maxlength="80" /> <span class="help-inline"><div