I've just completed the MVC tutorial that links off the documentation page. To be honest, I feel like I've just taken a long bus ride, and have been let off in the middle of nowhere. The tutorial let me write/process a form page, but did little to tell me what's going on behind the scenes (what methods are being called when), and it didn't give me enough information to proceed with my own, simple, real world experiments. What's the next step after the tutorial?
Also, some questions off the tutorial. First, in springapp-servlet.xml, in the urlMapping bean configuration, it uses <props> tags, which in turn use a prop attribute. I can figure out the <prop key=""> part, but what/where is the value between the opening and closing prop tag used? Is it just a description that can be used anywhere, or does it actually have some meaning?
Next, in the onSubmit method of PriceIncreaseFormController, there's a line that sets the string "now" to a new date, but nowhere does it add it to the Model. Is this supposed to be done automatically, or is there an error in the example? I ask because I modified the string, but the modified string never shows up on the redirect page.
Thx.


Reply With Quote