Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to make a MVC update control

 
Hakan Axheim
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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">
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic