20 lines
374 B
Java
20 lines
374 B
Java
![]() |
package de.ctdo.web;
|
||
|
|
||
|
import org.springframework.stereotype.Controller;
|
||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||
|
import org.springframework.web.servlet.ModelAndView;
|
||
|
|
||
|
|
||
|
@Controller
|
||
|
public class TestController {
|
||
|
|
||
|
@RequestMapping("/foobar")
|
||
|
public ModelAndView blafasel() {
|
||
|
|
||
|
ModelAndView mav = new ModelAndView("hello.jsp");
|
||
|
return mav;
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|