This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSP and the fly likes Data Grid With JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Data Grid With JSP" Watch "Data Grid With JSP" New topic
Author

Data Grid With JSP

ikenna okpala
Greenhorn

Joined: Jul 12, 2006
Posts: 27
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 ]

SCJP 5.0, SCWCD 1.4, SCBCD 5.0, SCEA 5.0, OCP:AD "there is no traffic in the extra mile..."
jiju ka
Ranch Hand

Joined: Oct 12, 2004
Posts: 302
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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Data Grid With JSP
 
Similar Threads
AJAX based data grid component with pagination with Struts2
jQuery jqGrid plugin with jsp
Data Grid with Struts/JSP
JSP two pages