File tree Expand file tree Collapse file tree
src/main/java/com/stackify/guest/springmvc Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44 <modelVersion>4.0.0</modelVersion>
55
6- <groupId>com.forketyfork .guest</groupId>
6+ <groupId>com.stackify .guest</groupId>
77 <artifactId>spring-mvc</artifactId>
88 <version>0.0.1-SNAPSHOT</version>
99 <packaging>jar</packaging>
Original file line number Diff line number Diff line change 1- package com.forketyfork .guest.springmvc;
1+ package com.stackify .guest.springmvc;
22
33import org.springframework.boot.autoconfigure.SpringBootApplication;
44import org.springframework.context.annotation.ComponentScan;
55import org.springframework.boot.SpringApplication;
66
77@SpringBootApplication
8- @ComponentScan(basePackages = {"com.forketyfork .guest.springmvc"})
8+ @ComponentScan(basePackages = {"com.stackify .guest.springmvc"})
99public class Spring5Application {
1010
1111 public static void main(String[] args) {
Original file line number Diff line number Diff line change 1- package com.forketyfork .guest.springmvc.model;
1+ package com.stackify .guest.springmvc.model;
22
33public class LoginData {
44
Original file line number Diff line number Diff line change 1- package com.forketyfork .guest.springmvc.web;
1+ package com.stackify .guest.springmvc.web;
22
3- import com.forketyfork.guest.springmvc.model.LoginData;
43import org.springframework.stereotype.Controller;
54import org.springframework.web.bind.annotation.GetMapping;
65import org.springframework.web.bind.annotation.PostMapping;
76import org.springframework.web.bind.annotation.RequestBody;
87import org.springframework.web.bind.annotation.ResponseBody;
98import org.springframework.web.servlet.ModelAndView;
109
10+ import com.stackify.guest.springmvc.model.LoginData;
11+
1112import java.util.Collections;
1213
1314@Controller
Original file line number Diff line number Diff line change 1- package com.forketyfork .guest.springmvc.web;
1+ package com.stackify .guest.springmvc.web;
22
33public class MyInputResource {
44
Original file line number Diff line number Diff line change 1- package com.forketyfork .guest.springmvc.web;
1+ package com.stackify .guest.springmvc.web;
22
33public class MyOutputResource {
44
Original file line number Diff line number Diff line change 1- package com.forketyfork .guest.springmvc.web;
1+ package com.stackify .guest.springmvc.web;
22
33import org.springframework.web.bind.annotation.GetMapping;
44import org.springframework.web.bind.annotation.RestController;
You can’t perform that action at this time.
0 commit comments