ページの作成

ページの作成

親となるページを選択してください。

ページは必ず何かしらの親ページに紐づきます。
親ページに紐づくページを子ページといいます。
例: 親=スポーツ, 子1=サッカー, 子2=野球

子ページを親ページとして更に子ページを作成することも可能です。
例: 親=サッカー, 子=サッカーのルール

親ページはいつでも変更することが可能なのでとりあえず作ってみましょう!
テンプレートを更新

18. 【Spring】@RequestMappingアノテーションとは

本稿はSpringFrameworkの@RequestMappingについて説明します。

 

@RequestMappingとは

@RequestMappingを記述することでメソッドに対してURLをマッピングさせることができます。

以下の例では"/index"にGETでリクエストがあった場合、index()メソッドが実行されるということになります。

@RestController

public class HelloController {

@RequestMapping(path = "/index", method = RequestMethod.GET)

public String index() {

return "Hello!!";

}

}

 

パスやリクエスト方式を複数指定する場合は以下のように記述できます。

@RequestMapping(path = { "/", "/index" }, method = { GET, POST })

 

子ページ
子ページはありません
同階層のページ
  1. @After
  2. @Autowired
  3. @Bean
  4. @Before
  5. @Column
  6. @Component
  7. @Configuration
  8. @Controller
  9. @Data
  10. @Entity
  11. @GeneratedValue
  12. @Id
  13. @Modifying
  14. @PathVariable
  15. @PropertySource
  16. @Repository
  17. @RequestBody
  18. @RequestMapping
  19. @ResponseBody
  20. @RestController
  21. @Service
  22. @SpringBootApplication
  23. @Table
  24. @Transactional
  25. @Value

最近の質問

コメント一覧

    No.839 | guest | 2022-12-28 04:35:47

    <a href="http://www.hydroxychloroquinex.com/#">chloroquine phosphate generic name</a>

    No.838 | guest | 2022-12-27 03:42:11

    <a href="http://www.hydroxychloroquinex.com/">aralen pill</a>

    No.837 | guest | 2022-12-13 14:43:27

    <a href="http://candipharm.com/ ">http://candipharm.com/</a>

    No.836 | guest | 2021-12-20 17:57:17

    Cephalexin For Cellulitis Baby

    No.814 | guest | 2021-12-09 22:10:42

    Ricambi Propecia

    No.813 | guest | 2021-12-09 07:00:57

    Amoxicillin Dosages For Dogs

    No.811 | guest | 2021-12-07 15:11:07

    cialis generic online cheap

    No.809 | guest | 2021-12-06 19:59:40

    Cialis For Daily Use Prices

    No.802 | guest | 2021-12-04 17:37:22

    Buy Zithromax 500mg Online

    No.799 | guest | 2021-12-04 05:35:33

    Viagra Ohne Rezept In Hamburg

    No.788 | guest | 2021-11-16 09:40:32

    Overnight4usa Reviews

    No.787 | guest | 2021-11-16 01:21:21

    Ricetta Viagra Dei Poveri

    No.783 | guest | 2021-11-11 09:49:40

    Achat De Cytotec En Ligne

    No.781 | guest | 2021-11-09 18:39:43

    Generic Levitra Work

    No.780 | guest | 2021-11-09 11:46:05

    Cialis Honcode

    No.778 | guest | 2021-11-07 18:38:18

    tamsulosin tadalafil combination

    No.776 | guest | 2021-11-05 15:46:03

    5mg Generic Levitra

    No.770 | guest | 2021-11-02 05:10:27

    Levitra Ohne Rezept Auf Rechnung

    No.767 | guest | 2021-10-31 01:23:27

    Apotheke Viagra

    No.630 | guest | 2021-10-07 09:25:31

    Picture Of Amoxicillin

    No.521 | guest | 2021-10-02 02:53:50

    buy accutane 20mg

    No.520 | guest | 2021-10-01 05:12:12

    Let me introduce myself. I am Mike Myrthil, director of operations for Nutritional Products International, a global brand management company based in Boca Raton, Florida. NPI works with international and domestic health and wellness brand manufacturers who are seeking to enter the U.S. market or expand their sales in America. I recently came across your brand and would like to discuss how NPI can help you expand your distribution reach in the United States. We provide expertise in all areas of distribution: • Turnkey/One-stop solution • Active accounts with major U.S. distributors and retailers • An executive team that has held executive positions with Walmart and Amazon, the two largest online and brick-and-mortar retailers in the U.S., and Glanbia, the world’s largest sports nutrition company. • Proven sales force with public relations, branding, and marketing all under one roof • Focus on new and existing product lines • Warehousing and logistics NPI has a long, successful track record of taking brands to market in the United States. We meet regularly with buyers from large and small retail chains in the country. NPI is your fast track to the retail market. Please contact me directly so that we can discuss your brand further. Kind Regards, Mike, Mike Myrthil Director of Operations Nutritional Products International 101 Plaza Real S, Ste #224 Boca Raton, FL 33432 Office: 561-544-071 Mike.m@nutricompany.com

    No.492 | guest | 2021-09-21 15:38:54

    Penicillin Or Amoxicillin On Line Doctors

    No.491 | guest | 2021-09-21 15:12:14

    Pediatric Dosing Amoxicillin

    No.488 | guest | 2021-09-18 13:29:10

    Pyridium Best Buy Cheapeast Express Delivery

    No.486 | guest | 2021-09-16 05:32:32

    normal cialis dosage

    No.478 | guest | 2021-09-07 07:58:46

    Kamagra 100mg Generic Viagra For Sale

    No.475 | guest | 2021-09-01 04:29:37

    Sobredosis De Propecia

    No.473 | guest | 2021-08-31 21:02:49

    Comprar Cialis Priligy

    No.471 | guest | 2021-08-29 02:46:34

    Amoxicillin Powder