File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "How to make a MVC update control" Watch "How to make a MVC update control" New topic

How to make a MVC update control

Hakan Axheim

Joined: Nov 24, 2008
Posts: 9

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">
I agree. Here's the link:
subject: How to make a MVC update control
It's not a secret anymore!