Issues regarding usage of Spring MVC @RequestMapping methods
Questions tagged [request-mapping]
348 questions
-1
votes
1 answer
Spring MVC - calling method on every admin pages
I'm new to spring mvc , I'm working on a web project admin panel.
Here is some example of my admin pages controllers :
@Controller
@RequestMapping("/admin/article/**")
public class ArticleController {
private ArticleDao articleDao;
private…

Sepehr GH
- 1,297
- 1
- 17
- 39
-2
votes
1 answer
Denial of Service ReadLine vulnerability for spring java application
In my spring java application, scan tool is showing vulnerability for Denial of Service: ReadLine for ModelAttribute ("someFormBean")
@RequestMapping(method = RequestMethod.POST)
public String processForm(@Valid…

KJ21
- 63
- 7
-2
votes
1 answer
Access an object created in another class
I have a main class in which i am creating object of a class which connects to the database. How can i use this object in a controller class ?
public class A {
public static void main(String[] args) {
// TODO Auto-generated…

Iroch
- 19
- 6