I am trying to review the code in Spring Show Case from git
https://github.com/SpringSource/spring-mvc-showcase
But I am missing something on the first page if you click on the simple link you get back "Hello World" in green.
So I looked in the JSP page and I found this code:
<ul>
<li>
<a id="simpleLink" class="textLink" href="<c:url value="/simple" />">GET /simple</a>
</li>
<li>
<a id="simpleRevisited" class="textLink" href="<c:url value="/simple/revisited" />">GET /simple/revisited</a>
</li>
</ul>
Where does the call to the contoller but I dont see how the JSP page knows where to put the "Hello World" in green.
I then reviewed the control and I found:
@Controller
public class SimpleController {
@RequestMapping("/simple")
public @ResponseBody String simple() {
return "Hello world!";
}
}
Which sents the "Hello World" out to the JSP but how does the JSP know where to put it? I dont see any tag