Forums Register Login

insert/update in java web apps

+Pie Number of slices to send: Send
hello.... can someone explain me how data can be inserted,updated etc.. in a database that is part of a java web application... please explain me in terms of the MVC architechture (with Servlet,Jsp,POJO/Bean )...
my question in simple words is If we consider the MVC architechture, and consider that we have a database , how does the data from say, an (html) form , gets inserted into the database tables.. Please help me understand this....

Please provide necesssary links of free ebooks or tutorials if there are any on this matter....
+Pie Number of slices to send: Send
View Controller Model (VCM) : V=HTML/JSP; C=Servlet; M=DAO/JDBC Layer

You need to write Java code that, should send the values entered in V to the C which should call the right entity in M.

Entities in M interact with the DB to insert/update/delete/select data.
This parrot is no more. It has ceased to be. Now it's a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1107 times.
Similar Threads
Column value is getting reset to zero automatically in Jtable
Regarding RESTful WEB SERVICES with SPRING MVC Framework
Form submission in struts 1.2
DAO pattern for stored procedure cal
Regarding RESTful WEB SERVICES with SPRING MVC Framework
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 05:18:14.