RestFul功能

案列: RestFul 風格, 不能xxx.do 這樣。 要求url 是 …//// 不能有後綴 前臺請求 配置攔截路徑| 按以下方式獲得參數 案例2 點page1 調到page1 的頁面。。。 如果不用RestFul 的方式, 則要在controller 裏面寫5 個方法 使用RestFul 後。 只需要一個方法, 非常靈活 案例3 : 通過method 指定方法, 默認是get, post 。
相關文章
相關標籤/搜索