This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Other Application Frameworks and the fly likes Flow of request in Spring Frame work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Flow of request in Spring Frame work" Watch "Flow of request in Spring Frame work" New topic
Author

Flow of request in Spring Frame work

Ranjit Kumar Mamidi
Greenhorn

Joined: Jul 21, 2008
Posts: 2
Hi.
I am new to spring frame work.
I just want to know the flow of the request in Spring.
I am explaining the flow which I understod.

  • [list]First when ever we need a new page some xx.htm
  • It will search this in application-servlet.xml under urlMaping bean.
  • From there it will move to the corresponding bean and get the correct controller of that and executes the handleRequest method of the controller.
  • This method will return a model which is again searched in the application-servlet.xml for the viewResolver bean and adds the prefix and suffix to the given view and displays the jsp


  • I am following the same flow to create a login page.
    But I am gacing many errors.
    Can any one explain the correct flow.

    Thanks in advance
     
    It is sorta covered in the JavaRanch Style Guide.
     
    subject: Flow of request in Spring Frame work