@Controller
public class PagesController
extends java.lang.Object
Constructor and Description |
---|
PagesController() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createTask()
This method maps specified request to tasks/show.html template
|
java.lang.String |
index()
This method maps specified request to index.html template
|
java.lang.String |
show()
This method maps specified request to questions/show.html template
|
@RequestMapping(value="/") public java.lang.String index()
@RequestMapping(value="questions/{questionId}") public java.lang.String show()
@RequestMapping(value="tasks/{taskId}") public java.lang.String createTask()