• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unable to understand the workflow of SimpleFormController in Spring.

 
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All, I am trying out the application given in the spring-framework docs...
spring-framework-2.5.1\docs\MVC-step-by-step\pdf\spring-mvc-step-by-step.pdf
Section 4.5 : Adding a Form
I have implemented the application and its working fine. The problem is that I am not able to understand the flow, when I click on the link of Price Increase

From this url: http://localhost:8080/springapplication/hello.do
it goes to this url : http://localhost:8080/springapplication/priceincrease.do

In springapp-servlet.xml under /priceincrease.do we have the following



Please explain me the sequence of events in detail... what happens when it goes to http://localhost:8080/springapplication/priceincrease.do url on clicking Price Increase hyperlink

Also when I enter the % value and click on execute then it again goes to /hello.do and shows me the modified values.... How does this happen ??? Please explain me the flow ...

Please do clear my concepts ....
Thanks a lot....
 
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Follow this link, its an article on simpleformcontroller that will clear your concepts.

http://simpleformcontroller.150m.com/

Regards,

Ujjwal Soni

"A Well directed imagination is a source of great deeds !!!"
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ujjwal, Hi Siddharth,
I plan to use Spring framework for our new web based project.
Actually am quite confused as to which framework i should be using. Reading the info on the net i feel spring should be the best bet but am not sure yet.
Looks like you guys have been using spring for production applications.
Would you recommend the use of Spring? Any details reagrding benefits/disadvantages would be most welcome.

Thanks in advance,
Rakesh
 
A feeble attempt to tell you about our stuff that makes us money
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic