@RequestMapping annotation in Java Spring

0 votes

What is @RequestMapping annotation in Java Spring?

Sep 11, 2018 in Java by anto.trigg4
• 3,420 points
172 views

1 answer to this question.

0 votes

The @RequestMapping annotation in Spring Framework is used for mapping a particular HTTP request method to a specific class/ method in the controller that will be handling the respective request. This annotation can be applied at both levels:

  • Class level: Maps the URL of the request
  • Method level: Maps the URL as well as HTTP request method
answered Sep 11, 2018 by code.reaper12
• 3,450 points

Related Questions In Java

0 votes
2 answers

What is the use of @Override annotation in Java ? When do we use it ?

@Override annotation is used when we override ...READ MORE

answered 5 days ago in Java by Sirajul
• 17,240 points
79 views
0 votes
1 answer

Bean Scopes in Java Spring

According to my knowledge, the Spring Framework ...READ MORE

answered Jul 3, 2018 in Java by geek.erkami
• 2,320 points
73 views
+5 votes
3 answers

How to execute a python file with few arguments in java?

You can use Java Runtime.exec() to run python script, ...READ MORE

answered Mar 27, 2018 in Java by DragonLord999
• 8,380 points

edited Nov 6, 2018 by Omkar 7,107 views
+1 vote
3 answers

What is the syntax to declare and initialize an array in java?

You can use this method: String[] strs = ...READ MORE

answered Jul 25, 2018 in Java by samarth295
• 2,190 points
254 views
0 votes
1 answer

@Autowired annotation in Spring Framework

The @Autowired annotation provides more accurate control over where ...READ MORE

answered Aug 2, 2018 in Java by geek.erkami
• 2,320 points
97 views
0 votes
1 answer
0 votes
1 answer

Various Advice in Spring AOP

Below are the various advices available in AOP: Before: These types ...READ MORE

answered Sep 12, 2018 in Java by geek.erkami
• 2,320 points
45 views
0 votes
1 answer

Types of transaction management in Spring Framework

Well there are basically to types of ...READ MORE

answered Nov 27, 2018 in Java by geek.erkami
• 2,320 points
197 views
0 votes
1 answer

Annotation wiring in Spring

By default, Annotation wiring is not turned ...READ MORE

answered Jul 3, 2018 in Java by code.reaper12
• 3,450 points
68 views
0 votes
1 answer