reading html table in servlet
Dear Members :
I have a table populated in servlet, with one column as "delete button".
When checkout button is going to submit the modified table to another servlet, how this servlet is going to read the modified table ?
Simply put, how a servlet can read (row,cell) of an html table ?
Thanks in advance.
One way to store values from an HTML page is to submit them to the server using an HTML form. Can you arrange for the elements to be part of a form?
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
I got a solution in another forum, who suggested me to get the elements of html table by "name" thru getParameterMap() method (receiving servlet).
This will work fine. I am also trying to materialize this algo - "clicking checkoutbutton, call a JScript, which will read all the elements (modified) of the html table, put them in array and send to the receiving servlet"; but I am lacking at the syntax level (I am just learning servlet).
If you think this can be done and worth doing, could you please send a summary syntax : both at JScript and receiving Servlet level.
Thanks very much.
Last Post: 02-28-2006, 03:27 AM
By musakazim in forum Java
Last Post: 05-28-2003, 12:11 AM
Last Post: 04-04-2003, 05:55 PM
By khaimun in forum ASP.NET
Last Post: 09-07-2000, 12:59 PM
Last Post: 06-20-2000, 01:11 PM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL