頁面傳值1-1

首先我們創建一個Maven項目 在pom.xml下去官網上找相應的jar包下載的代碼 官網:https://mvnrepository.com 如下圖: 下一步在src下創建目錄並且AnnotationController類 1.在類的前面加上@Ctotroller 2.使用註解@RequestMapping(value = 「/index」,method = RequestMethod.GET)
相關文章
相關標籤/搜索