my dog learned polymorphism*
The moose likes JSP and the fly likes Data Grid With JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
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: 306
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://aspose.com/file-tools
 
subject: Data Grid With JSP