This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
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

Data Grid With JSP

 
ikenna okpala
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am try to fetch data from the database and I need to display that in the

table format i need clarification on how to select, insert, delete and

update Data grid using JSP.

Any one with experience ON Data Grid please help.

thanks
[ February 15, 2007: Message edited by: ikenna okpala ]
 
jiju ka
Ranch Hand
Posts: 308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To attain the same results as of the Data Grid in Vb and .net use ajax.

You can fire http request on particular javascript functions like onClick, onChange, OnKeyUp, etc as in

http://www.w3schools.com/jsref/jsref_events.asp

Your grid is comprised of html, javascript at client side, ajax and java at server side.

You can put checkboxes or buttons to indicate a row need to be deleted.

If the data in the data grid is less you probably can get away with ajax, but you will have to submit the whole form where the table is residing.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic