wood burning stoves 2.0
The moose likes Spring and the fly likes How to make a MVC update control Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "How to make a MVC update control" Watch "How to make a MVC update control" New topic
Author

How to make a MVC update control

Hakan Axheim
Greenhorn

Joined: Nov 24, 2008
Posts: 9
Hello,

I have a Control class that lists all records from a database with hibernate and prestent the retrevied records in an JSP page.
In this page I have three posibilities. View more information about a specific record, update a specific record or delete a specific record.
This is don with the <a href ... tag. It was easy to delete a record and show a record. <br /> <br /> When I click on the update link I want to present a new JSP page with the all data allocated to that specific record. <br /> After that I wan't to change some data in that JSP page and click on an OK button. <br /> The OK button will then update the database with the new information. <br /> <br /> I 'dont know how to do that update scenario! <br /> Wich type of Control and which methods? <br /> Do I have to handle several controls? <br /> <br /> Maybe somone can give me an example! <br /> <br /> rel="nofollow">
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: How to make a MVC update control